diff options
Diffstat (limited to 'Makefile')
-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 |