diff options
author | Aki <please@ignore.pl> | 2023-04-15 23:56:16 +0200 |
---|---|---|
committer | Aki <please@ignore.pl> | 2023-04-15 23:56:16 +0200 |
commit | 0a31e19167dc89a0d651a5aeab4ccbabde5d7369 (patch) | |
tree | 90a5edd99f31556db6ad09e43dd2e5af1ce40d7e | |
parent | 976260d846b1c6512f310766798b3fa1cd2e680f (diff) | |
download | pkgrel-0a31e19167dc89a0d651a5aeab4ccbabde5d7369.zip pkgrel-0a31e19167dc89a0d651a5aeab4ccbabde5d7369.tar.gz pkgrel-0a31e19167dc89a0d651a5aeab4ccbabde5d7369.tar.bz2 |
Replaced step-by-step installation with install(1)
-rw-r--r-- | Makefile | 10 |
1 files changed, 3 insertions, 7 deletions
@@ -12,13 +12,9 @@ all: pkgrel clean: rm -f *.o pkgrel -install: pkgrel - mkdir -p $(DESTDIR)$(BINDIR) - mkdir -p $(DESTDIR)$(MANDIR) - cp -f pkgrel $(DESTDIR)$(BINDIR)/pkgrel - cp -f pkgrel.1 $(DESTDIR)$(MANDIR)/pkgrel.1 - chmod 755 $(DESTDIR)$(BINDIR)/pkgrel - chmod 644 $(DESTDIR)$(MANDIR)/pkgrel.1 +install: all + install -Dm755 pkgrel -t $(DESTDIR)$(BINDIR)/ + install -Dm644 pkgrel.1 -t $(DESTDIR)$(MANDIR)/ uninstall: rm -f $(DESTDIR)$(BINDIR)/pkgrel |