commit: 3a0b708a88209682bf813ac50cd21e4f8014839a
parent: 6c764f63abe75d1d8747efd34dd097e744e515dd
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)