do install correctly even if there are no programs to install

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1788 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Assar Westerlund
1997-06-01 01:45:26 +00:00
parent 20047feaed
commit 3631f08c0a
2 changed files with 6 additions and 6 deletions

View File

@@ -54,18 +54,18 @@ Wall:
install: all
$(MKINSTALLDIRS) $(bindir)
for x in $(PROG_BIN); do \
PROG_BIN=$(PROG_BIN); for x in $$PROG_BIN; do \
$(INSTALL_PROGRAM) $$x $(bindir)/`echo $$x | sed '$(transform)'`; \
done
for x in $(PROG_LIBEXEC); do \
PROG_LIBEXEC=$(PROG_LIBEXEC); for x in $$PROG_LIBEXEC; do \
$(INSTALL_PROGRAM) $$x $(libexecdir)/`echo $$x | sed '$(transform)'`; \
done
uninstall:
for x in $(PROG_BIN); do \
PROG_BIN=$(PROG_BIN); for x in $$PROG_BIN; do \
rm -f $(bindir)/`echo $$x | sed '$(transform)'`; \
done
for x in $(PROG_LIBEXEC); do \
PROG_LIBEXEC=$(PROG_LIBEXEC); for x in $$PROG_LIBEXEC; do \
rm -f $(libexecdir)/`echo $$x | sed '$(transform)'`; \
done

View File

@@ -51,7 +51,7 @@ Wall:
install: all
$(MKINSTALLDIRS) $(bindir)
for x in $(PROG_BIN); do \
PROG_BIN=$(PROG_BIN); for x in $$PROG_BIN; do \
$(INSTALL_PROGRAM) $$x $(bindir)/`echo $$x | sed '$(transform)'`; \
done
$(MKINSTALLDIRS) $(mandir)/man1
@@ -61,7 +61,7 @@ install: all
done)
uninstall:
for x in $(PROG_BIN); do \
PROG_BIN=$(PROG_BIN); for x in $$PROG_BIN; do \
rm -f $(bindir)/`echo $$x | sed '$(transform)'`; \
done
for x in $(MAN1); do \