summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-12-02 10:16:55 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-12-02 10:16:55 +0000
commitc5b2462b76dc92a73a1f5ae0226aea1b37d83f0e (patch)
tree0a463a06c5fce71604f9af38bc4f39210b3121e7 /Makefile
parent82b5314b2fdf0873bca2c21af698ee6b3525efb2 (diff)
downloadmandoc-c5b2462b76dc92a73a1f5ae0226aea1b37d83f0e.tar.gz
Fixed handling of exampledir (pointed out by Ulrich Sporlein, forgotten, discovered again).
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 1f39bfb8..1ee8b325 100644
--- a/Makefile
+++ b/Makefile
@@ -108,17 +108,20 @@ installwww: www
install:
mkdir -p $(BINDIR)
+ mkdir -p $(EXAMPLEDIR)
mkdir -p $(MANDIR)/man1
mkdir -p $(MANDIR)/man7
$(INSTALL_PROGRAM) mandoc $(BINDIR)
$(INSTALL_MAN) mandoc.1 $(MANDIR)/man1
- $(INSTALL_MAN) mdoc.7 $(MANDIR)/man7
+ $(INSTALL_MAN) man.7 mdoc.7 $(MANDIR)/man7
$(INSTALL_DATA) example.style.css $(EXAMPLEDIR)
uninstall:
rm -f $(BINDIR)/mandoc
rm -f $(MANDIR)/man1/mandoc.1
rm -f $(MANDIR)/man7/mdoc.7
+ rm -f $(MANDIR)/man7/man.7
+ rm -f $(EXAMPLEDIR)/example.style.css
man_macro.ln: man_macro.c libman.h
man_macro.o: man_macro.c libman.h