commit: fff8dbebb26f368400888a4d6e138f570bf0c2b0
parent 0debc4060a60bfbcd528ce39eb6e42b48b814c41
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date: Thu, 20 Aug 2020 23:08:23 +0200
Makefile: Make all cp command end with a / on directory targets
Diffstat:
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/Makefile b/Makefile
@@ -78,12 +78,12 @@ test: $(EXE_test)
.PHONY: install
install: all
mkdir -p $(DESTDIR)$(BINDIR)
- cp -p badwolf $(DESTDIR)$(BINDIR)
+ cp -p badwolf $(DESTDIR)$(BINDIR)/
mkdir -p $(DESTDIR)$(MANDIR)/man1
- cp -p badwolf.1 $(DESTDIR)$(MANDIR)/man1
+ cp -p badwolf.1 $(DESTDIR)$(MANDIR)/man1/
mkdir -p $(DESTDIR)$(DATADIR)/locale
- cp -r locale/ $(DESTDIR)$(DATADIR)
- cp interface.css $(DESTDIR)$(DATADIR)
+ cp -r locale/ $(DESTDIR)$(DATADIR)/
+ cp interface.css $(DESTDIR)$(DATADIR)/
mkdir -p $(DESTDIR)$(APPSDIR)
cp -p badwolf.desktop $(DESTDIR)$(APPSDIR)/
mkdir -p $(DESTDIR)$(DOCDIR)