]> git.ipfire.org Git - thirdparty/bacula.git/commitdiff
Fix cdp-client Makefile install target
authorEric Bollengier <eric@baculasystems.com>
Wed, 16 Mar 2022 08:35:05 +0000 (09:35 +0100)
committerEric Bollengier <eric@baculasystems.com>
Thu, 24 Mar 2022 08:03:28 +0000 (09:03 +0100)
bacula/src/tools/cdp-client/Makefile.in

index 96ef80ab27116e3f343cc51f4c614c20536ad9e2..eaa088dca2fee77b0d23df9d53c73a246daa0df9 100644 (file)
@@ -61,7 +61,7 @@ libtool-clean:
        @$(RMF) -r .libs _libs
 
 clean: libtool-clean
-       @$(RMF) core core.* a.out *.o *.bak *~ *.intpro *.extpro 1 2 3 fs-io-error
+       @$(RMF) core core.* a.out *.o *.lo
        @$(RMF) $(DIRTOOLS)
 
 realclean: clean
@@ -77,14 +77,10 @@ devclean: realclean
 
 # Allow non-root execution of bsmtp for non-root Directors
 install: cdp-client
-       @for tool in cdp-client ; do \
-          $(LIBTOOL_INSTALL) $(INSTALL_PROGRAM) $$tool $(DESTDIR)$(sbindir)/$$tool ; \
-       done
+       $(LIBTOOL_INSTALL) $(INSTALL_PROGRAM_ALL) cdp-client $(DESTDIR)$(sbindir)/
 
 uninstall:
-       @for tool in cdp-client ; do \
-          $(RMF) $(DESTDIR)$(sbindir)/$$tool ; \
-       done
+       $(RMF) $(DESTDIR)$(sbindir)/cdp-client