- DESTDIR install style patch.
authorkloczek <kloczek@pld-linux.org>
Tue, 6 Aug 2002 03:15:34 +0000 (03:15 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    barcode-DESTDIR.patch -> 1.1

barcode-DESTDIR.patch [new file with mode: 0644]

diff --git a/barcode-DESTDIR.patch b/barcode-DESTDIR.patch
new file mode 100644 (file)
index 0000000..62d4457
--- /dev/null
@@ -0,0 +1,58 @@
+--- barcode-0.98/Makefile.in~  Tue Aug  6 05:07:39 2002
++++ barcode-0.98/Makefile.in   Tue Aug  6 05:07:39 2002
+@@ -11,12 +11,11 @@
+ LDFLAGS = -L. -l$(TARGET) @LIBPAPER@
+ prefix = @prefix@
+-BINDIR = $(prefix)/bin
+-LIBDIR = $(prefix)/lib
+-INCDIR = $(prefix)/include
+-MAN1DIR = $(prefix)/man/man1
+-MAN3DIR = $(prefix)/man/man3
+-INFODIR = $(prefix)/info
++bindir = @bindir@
++libdir = @libdir@
++includedir = @includedir@
++mandir = @mandir@
++infodir = @infodir@
+ # getopt may be installed or not, if not take our copy
+ GETOPT_O = @GETOPT_O@
+@@ -63,22 +62,23 @@
+       cd doc && $(MAKE) 
+ install:
+-      $(INSTALL) -d $(BINDIR) $(INCDIR) $(LIBDIR) $(MAN1DIR) \
+-              $(MAN3DIR) $(INFODIR)
+-      $(INSTALL) -c $(TARGET) $(BINDIR)
+-      $(INSTALL) -c -m 0644 $(HEADER) $(INCDIR)
+-      $(INSTALL) -c -m 0644  $(LIBRARY) $(LIBDIR)
+-      $(INSTALL) -c -m 0644  $(MAN1) $(MAN1DIR)
+-      $(INSTALL) -c -m 0644  $(MAN3) $(MAN3DIR)
+-      $(INSTALL) -c -m 0644  $(INFO) $(INFODIR)
++      $(INSTALL) -d $(DESTDIR)$(bindir) $(DESTDIR)$(includedir) \
++              $(DESTDIR)$(libdir) $(DESTDIR)$(mandir)/man1 \
++              $(DESTDIR)$(mandir)/man3 $(DESTDIR)$(infodir)
++      $(INSTALL) -c $(TARGET) $(DESTDIR)$(bindir)
++      $(INSTALL) -c -m 0644 $(HEADER) $(DESTDIR)$(includedir)
++      $(INSTALL) -c -m 0644  $(LIBRARY) $(DESTDIR)$(libdir)
++      $(INSTALL) -c -m 0644  $(MAN1) $(DESTDIR)$(mandir)/man1
++      $(INSTALL) -c -m 0644  $(MAN3) $(DESTDIR)$(mandir)/man3
++      $(INSTALL) -c -m 0644  $(INFO) $(DESTDIR)$(infodir)
+ uninstall:
+-      $(RM) -f $(BINDIR)/$(TARGET)
+-      $(RM) -f $(INCDIR)/$(HEADER)
+-      $(RM) -f $(LIBDIR)/$(LIBRARY)
+-      $(RM) -f $(MAN1DIR)/$(MAN1)
+-      $(RM) -f $(MAN3DIR)/$(MAN3)
+-      $(RM) -f $(INDODIR)/$(INFO)
++      $(RM) -f $(DESTDIR)$(bindir)/$(TARGET)
++      $(RM) -f $(DESTDIR)$(includedir)/$(HEADER)
++      $(RM) -f $(DESTDIR)$(libdir)/$(LIBRARY)
++      $(RM) -f $(DESTDIR)$(mandir)/man1/$(MAN1)
++      $(RM) -f $(DESTDIR)$(mandir)/$(MAN3)
++      $(RM) -f $(DESTDIR)$(INDODIR)/$(INFO)
+ #Make clean keeps the compiled documents
+ clean:
This page took 0.131649 seconds and 4 git commands to generate.