Fixed the Makefile.in to actually work (for real)
authormicah <micah@758a04ac-41e6-0310-8a23-8373a73cc35d>
Fri, 20 Jan 2006 02:36:10 +0000 (02:36 +0000)
committermicah <micah@758a04ac-41e6-0310-8a23-8373a73cc35d>
Fri, 20 Jan 2006 02:36:10 +0000 (02:36 +0000)
git-svn-id: http://code.autistici.org/svn/backupninja/trunk@351 758a04ac-41e6-0310-8a23-8373a73cc35d

lib/Makefile.in

index 5434d60cd3d6da2411be21ee14d5cea6cb6dc7b2..debbc9ba9ed4fae6e89928a69b09d902d7e71c9b 100644 (file)
@@ -102,21 +102,21 @@ Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status $(BUILT_SOURCES)
 
 install-libSCRIPTS: $(lib_SCRIPTS)
        @$(NORMAL_INSTALL)
-       $(mkinstalldirs) $(DESTDIR)$(srcdir)/lib
+       $(mkinstalldirs) $(DESTDIR)$(libdir)/backupninja
        @list='$(lib_SCRIPTS)'; for p in $$list; do \
          if test -f $$p; then \
-           echo " $(INSTALL_SCRIPT) $$p $(DESTDIR)$(srcdir)/lib/`echo $$p|sed '$(transform)'`"; \
-           $(INSTALL_SCRIPT) $$p $(DESTDIR)$(srcdir)/lib/`echo $$p|sed '$(transform)'`; \
+           echo " $(INSTALL_SCRIPT) $$p $(DESTDIR)$(libdir)/backupninja/`echo $$p|sed '$(transform)'`"; \
+           $(INSTALL_SCRIPT) $$p $(DESTDIR)$(libdir)/backupninja/`echo $$p|sed '$(transform)'`; \
          else if test -f $(srcdir)/lib/$$p; then \
-           echo " $(INSTALL_SCRIPT) $(srcdir)/lib/$$p $(DESTDIR)$(srcdir)/lib/`echo $$p|sed '$(transform)'`"; \
-           $(INSTALL_SCRIPT) $(srcdir)/lib/$$p $(DESTDIR)$(srcdir)/lib/`echo $$p|sed '$(transform)'`; \
+           echo " $(INSTALL_SCRIPT) $(libdir)/backupninja/$$p $(DESTDIR)$(libdir)/backupninja/`echo $$p|sed '$(transform)'`"; \
+           $(INSTALL_SCRIPT) $(libdir)/$$p $(DESTDIR)$(libdir)/backupninja/`echo $$p|sed '$(transform)'`; \
          else :; fi; fi; \
        done
 
 uninstall-libSCRIPTS:
        @$(NORMAL_UNINSTALL)
        list='$(lib_SCRIPTS)'; for p in $$list; do \
-         rm -f $(DESTDIR)$(srcdir)/lib/`echo $$p|sed '$(transform)'`; \
+         rm -f $(DESTDIR)$(libdir)/`echo $$p|sed '$(transform)'`; \
        done
 tags: TAGS
 TAGS:
@@ -166,7 +166,7 @@ all-redirect: all-am
 install-strip:
        $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
 installdirs:
-       $(mkinstalldirs)  $(DESTDIR)$(sbindir)
+       $(mkinstalldirs)  $(DESTDIR)$(libdir)/backupninja
 
 
 mostlyclean-generic: