55db28ce1e
--HG-- extra : convert_revision : 43c0b621993c953f9309fbade9b6ca4d7111ea08
38 lines
1.2 KiB
Diff
38 lines
1.2 KiB
Diff
--- Makefile.orig 2010-02-20 02:10:51.753062051 +0100
|
|
+++ Makefile 2010-02-20 02:12:06.701936683 +0100
|
|
@@ -109,21 +109,21 @@ installwww: www
|
|
install -m 0444 mdocml-$(VERSION).md5 $(PREFIX)/snapshots/mdocml.md5
|
|
|
|
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) man.7 mdoc.7 $(MANDIR)/man7
|
|
- $(INSTALL_DATA) example.style.css $(EXAMPLEDIR)
|
|
+ mkdir -p $(DESTDIR)$(BINDIR)
|
|
+ mkdir -p $(DESTDIR)$(EXAMPLEDIR)
|
|
+ mkdir -p $(DESTDIR)$(MANDIR)/man1
|
|
+ mkdir -p $(DESTDIR)$(MANDIR)/man7
|
|
+ $(INSTALL_PROGRAM) mandoc $(DESTDIR)$(BINDIR)
|
|
+ $(INSTALL_MAN) mandoc.1 $(DESTDIR)$(MANDIR)/man1
|
|
+ $(INSTALL_MAN) man.7 mdoc.7 $(DESTDIR)$(MANDIR)/man7
|
|
+ $(INSTALL_DATA) example.style.css $(DESTDIR)$(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
|
|
+ rm -f $(DESTDIR)$(BINDIR)/mandoc
|
|
+ rm -f $(DESTDIR)$(MANDIR)/man1/mandoc.1
|
|
+ rm -f $(DESTDIR)$(MANDIR)/man7/mdoc.7
|
|
+ rm -f $(DESTDIR)$(MANDIR)/man7/man.7
|
|
+ rm -f $(DESTDIR)$(EXAMPLEDIR)/example.style.css
|
|
|
|
$(OBJS): config.h
|
|
|