summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index b477ffa..9d37ae0 100644
--- a/Makefile
+++ b/Makefile
@@ -67,9 +67,10 @@ clean:
install: all
mkdir -p \
'$(DESTDIR)$(BINDIR)' \
- '$(DESTDIR)$(SRCDIR)'
+ '$(DESTDIR)$(SRCDIR)' \
+
cp $(sources.sh) '$(DESTDIR)$(BINDIR)'
- cp $(sources.sh) '$(DESTDIR)$(SRCDIR)'
+ cp $(sources) '$(DESTDIR)$(SRCDIR)'
## Uninstalls from $(DESTDIR)$(PREFIX). This is a perfect mirror
@@ -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