summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile21
1 files changed, 6 insertions, 15 deletions
diff --git a/Makefile b/Makefile
index 5958871..c167744 100644
--- a/Makefile
+++ b/Makefile
@@ -1,19 +1,10 @@
-PANDOC:=$(shell \
- if pandoc </dev/null 2>/dev/null; then \
- echo pandoc; \
- else \
- echo "Warning: pandoc not installed; can't generate manpages." >&2; \
- echo '@echo Skipping: pandoc'; \
- fi)
+all:
-default: all
+Makefile:
+ @
-all: sshuttle.8
+%: FORCE
+ +./do $@
-sshuttle.8: sshuttle.md
+.PHONY: FORCE
-%.8: %.md
- $(PANDOC) -s -r markdown -w man -o $@ $<
-
-clean:
- rm -f *~ */*~ .*~ */.*~ *.8 *.tmp */*.tmp *.pyc */*.pyc