summary refs log tree commit diff
diff options
context:
space:
mode:
authorLain Iwakura <lain@lainmail.xyz>2025-12-27 21:45:53 +0300
committerLain Iwakura <lain@lainmail.xyz>2025-12-27 21:45:53 +0300
commite98ec9da7d1ee01166c104c756a73071f4176020 (patch)
tree5f173e3bf2bde7f1e0e3c94b40a9010fab35a1df
parentidk... (diff)
downloadhome-e98ec9da7d1ee01166c104c756a73071f4176020.tar.gz
home-e98ec9da7d1ee01166c104c756a73071f4176020.zip
bsd make compatibility
-rw-r--r--makefile12
1 files changed, 7 insertions, 5 deletions
diff --git a/makefile b/makefile
index 591ff16..c4b7ecf 100644
--- a/makefile
+++ b/makefile
@@ -1,22 +1,24 @@
-DIST=dist
+DIST=	dist
+
+.PHONY: all clean
 
 all: $(DIST)/index.html $(DIST)/email.html $(DIST)/style.css $(DIST)/scheme.css
 
 $(DIST):
 	mkdir -p $(DIST)
 
-$(DIST)/index.html: index.1 style.css | $(DIST)
+$(DIST)/index.html: index.1 style.css $(DIST)
 	cp index.1 $(DIST)/index.1
 	mandoc -Thtml -Ostyle=style.css index.1 > $@
 
-$(DIST)/email.html: email.7 style.css | $(DIST)
+$(DIST)/email.html: email.7 style.css $(DIST)
 	mandoc -Thtml -Ostyle=style.css email.7 > $@
 	cp email.7 $(DIST)/email.7
 
-$(DIST)/style.css: style.css | $(DIST)
+$(DIST)/style.css: style.css $(DIST)
 	cp style.css $@
 
-$(DIST)/scheme.css: scheme.css | $(DIST)
+$(DIST)/scheme.css: scheme.css $(DIST)
 	cp scheme.css $@
 
 clean: