summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 1628e18..c3f4ddd 100644
--- a/Makefile
+++ b/Makefile
@@ -25,10 +25,11 @@ MANDIR = /usr/share/man
VERSION = 1.1.1
-all: Make Make.8 ewemake
+all: Make Make.1 ewemake
Make: Make.lp* *.pas
- fpc Make.lpr
+ mkdir -p lib
+ fpc -FUlib Make.lpr
%: %.in
sed "s/#VERSION#/$(VERSION)/" $< > $@
@@ -37,7 +38,7 @@ Make: Make.lp* *.pas
install: all
install -D -m0755 -t $(DESTDIR)$(BINDIR) Make ewemake
- install -D -m0644 -t $(DESTDIR)$(MANDIR)/man8 Make.8
+ install -D -m0644 -t $(DESTDIR)$(MANDIR)/man1 Make.1
dist: clean
git status --porcelain 2> /dev/null | grep -q "\S" && (git add .; git commit -m"neue Version: $(VERSION)") || true
@@ -47,6 +48,7 @@ dist: clean
git push --tags
clean:
- rm -f Make Make.8 ewemake *.ppu *.o
+ rm -f Make Make.1 ewemake
+ rm -rf lib
# End of file