summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 626f88b..66fc67a 100644
--- a/Makefile
+++ b/Makefile
@@ -26,7 +26,7 @@ MANDIR = /usr/share/man
VERSION = 0.3
-all: shutdownasap shutdownasap.conf shutdownasap.8
+all: shutdownasap shutdownasap.conf shutdownasap.1
%: %.in
sed "s/#VERSION#/$(VERSION)/; s@#BINDIR#@$(BINDIR)@; s@#ETCDIR#@$(ETCDIR)@" $< > $@
@@ -35,11 +35,11 @@ all: shutdownasap shutdownasap.conf shutdownasap.8
install: all
install -D -m0755 -t $(DESTDIR)$(BINDIR) shutdownasap
- install -D -m0644 -t $(DESTDIR)$(MANDIR)/man8 shutdownasap.8
+ install -D -m0644 -t $(DESTDIR)$(MANDIR)/man1 shutdownasap.1
install -D -m0644 -t $(DESTDIR)$(ETCDIR) shutdownasap.conf
clean:
- rm -f shutdownasap{,.8,.conf}
+ rm -f shutdownasap{,.1,.conf}
dist: clean
git status --porcelain 2> /dev/null | grep -q "\S" && (git add .; git commit -m"neue Version: $(VERSION)") || true