[SCM] exiv2 packaging branch, master, updated. debian/0.25-3.1-3734-gdcbc29a

Maximiliano Curia maxy at moszumanska.debian.org
Thu Jul 13 17:36:19 UTC 2017


Gitweb-URL: http://git.debian.org/?p=pkg-kde/kde-extras/exiv2.git;a=commitdiff;h=1d58c46

The following commit has been merged in the master branch:
commit 1d58c468d6f66e5b37f95fbc958bf7d0b730410d
Author: Andreas Huggel <ahuggel at gmx.net>
Date:   Mon May 10 13:16:06 2004 +0000

    Fixed (un)install(-lib) targets, added exifcomment sample program
---
 src/Makefile | 21 ++++++++++++---------
 1 file changed, 12 insertions(+), 9 deletions(-)

diff --git a/src/Makefile b/src/Makefile
index 6794209..c87a54a 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -20,7 +20,7 @@
 # 02111-1307, USA.
 #
 # File:      Makefile
-# Version:   $Name:  $ $Revision: 1.21 $
+# Version:   $Name:  $ $Revision: 1.22 $
 # Author(s): Andreas Huggel (ahu) <ahuggel at gmx.net>
 # History:   10-Dec-03, ahu: created
 #
@@ -55,8 +55,8 @@ CCSRC = canonmn.cpp exif.cpp fujimn.cpp ifd.cpp image.cpp makernote.cpp \
         sigmamn.cpp tags.cpp types.cpp value.cpp
 
 # Add source files of simple applications to this list
-BINSRC = addmoddel.cpp exifprint.cpp makernote-test.cpp taglist.cpp \
-         write-test.cpp
+BINSRC = addmoddel.cpp exifcomment.cpp exifprint.cpp makernote-test.cpp \
+         taglist.cpp write-test.cpp 
 
 # State the main source file of the Exiv2 application here
 EXIV2MAIN = exiv2.cpp
@@ -115,6 +115,7 @@ SHAREDLIB = lib$(LIBNAME)$(SHAREDLIB_SUFFIX)
 ifdef STATIC_LIBS
     LIBRARY = archive
     INSTALL = bin
+    UNINSTALL = bin
     INSTALL_LIB = install-archive
     UNINSTALL_LIB = uninstall-archive
     LDLIBS := mn.o $(LDLIBS)
@@ -122,8 +123,10 @@ endif
 ifdef SHARED_LIBS
     LIBRARY := $(LIBRARY) sharedlib
     INSTALL = bin install-sharedlib
+    UNINSTALL := uninstall-sharedlib
     INSTALL_LIB := $(INSTALL_LIB) install-sharedlib
     UNINSTALL_LIB := $(UNINSTALL_LIB) uninstall-sharedlib
+
 endif
 
 # ******************************************************************************
@@ -209,8 +212,8 @@ $(EXIV2BIN): lib $(EXIV2OBJ)
 
 bin: lib $(BINARY) $(EXIV2BIN)
 
-install install-bin: $(INSTALL)
-	mkinstalldirs $(bindir) 
+install: $(INSTALL)
+	$(INSTALL_DIRS) $(bindir) 
 	@list='$(BINARY) $(EXIV2BIN)'; for p in $$list; do \
 	    if test -f $$p; then \
 	        echo "$(INSTALL_PROGRAM) $$p $(bindir)/$$p"; \
@@ -219,7 +222,7 @@ install install-bin: $(INSTALL)
 	done
 
 install-header:
-	mkinstalldirs $(incdir)
+	$(INSTALL_DIRS) $(incdir)
 	@list='$(HDR)'; for p in $$list; do \
 	    if test -f $$p; then \
 	        echo "$(INSTALL_DATA) $$p $(incdir)/$$p"; \
@@ -228,16 +231,16 @@ install-header:
 	done
 
 install-archive: archive
-	mkinstalldirs $(libdir)
+	$(INSTALL_DIRS) $(libdir)
 	$(INSTALL_DATA) $(ARCHIVE) $(libdir)/$(ARCHIVE)
 
 install-sharedlib: sharedlib
-	mkinstalldirs $(libdir)
+	$(INSTALL_DIRS) $(libdir)
 	$(INSTALL_DATA) $(SHAREDLIB) $(libdir)/$(SHAREDLIB)
 
 install-lib: $(INSTALL_LIB) install-header
 
-uninstall:
+uninstall: $(UNINSTALL)
 	@list='$(BINARY) $(EXIV2BIN)'; for p in $$list; do \
 	    echo "rm -f $(bindir)/$$p"; \
 	    rm -f $(bindir)/$$p; \

-- 
exiv2 packaging



More information about the pkg-kde-commits mailing list