summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile12
1 files changed, 6 insertions, 6 deletions
diff --git a/Makefile b/Makefile
index 1c62b65..4395819 100644
--- a/Makefile
+++ b/Makefile
@@ -23,21 +23,21 @@ DESTDIR =
BINDIR = /usr/bin
MANDIR = /usr/share/man
-VERSION = 1.0.2
+VERSION = 1.1
-all: Make Make.8
+all: Make Make.8 ewemake
Make: Make.lp* *.pas
fpc Make.lpr
-Make.8: Make.8.in
+%: %.in
sed "s/#VERSION#/$(VERSION)/" $< > $@
.PHONY: install dist clean
install: all
- install -D -m0755 Make $(DESTDIR)$(BINDIR)/Make
- install -D -m0644 Make.8 $(DESTDIR)$(MANDIR)/man8/Make.8
+ install -D -m0755 -t $(DESTDIR)$(BINDIR) Make ewemake
+ install -D -m0644 -t $(DESTDIR)$(MANDIR)/man8 Make.8
dist: clean
git status --porcelain 2> /dev/null | grep -q "\S" && (git add .; git commit -m"neue Version: $(VERSION)") || true
@@ -47,6 +47,6 @@ dist: clean
git push --tags
clean:
- rm -f Make Make.8 *.ppu *.o
+ rm -f Make Make.8 ewemake *.ppu *.o
# End of file