summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index ba9cf8c..fa2b89e 100644
--- a/Makefile
+++ b/Makefile
@@ -67,7 +67,8 @@ clean:
install: all
mkdir -p \
'$(DESTDIR)$(BINDIR)' \
- '$(DESTDIR)$(SRCDIR)'
+ '$(DESTDIR)$(SRCDIR)' \
+
cp $(sources.sh) '$(DESTDIR)$(BINDIR)'
cp $(sources) '$(DESTDIR)$(SRCDIR)'
@@ -77,7 +78,8 @@ install: all
## A dedicated test asserts that this is always true.
uninstall:
rm -rf \
- '$(DESTDIR)$(SRCDIR)'
+ '$(DESTDIR)$(SRCDIR)' \
+
for f in $(sources.sh); do \
rm -f '$(DESTDIR)$(BINDIR)'/"$${f#src/}"; \
done