Ticket #25749: Makefile.diff

File Makefile.diff, 900 bytes (added by alex_a_bordeaux@…, 14 years ago)

(quick and a little bit dirty makefile hack)

  • Makefile

    old new  
    11.SUFFIXES:      .html .xml .sgml .1 .3 .7 .md5 .tar.gz .1.txt .3.txt .7.txt .1.sgml .3.sgml .7.sgml .h .h.html .1.ps .3.ps .7.ps
    22
    3 PREFIX          = /usr/local
     3PREFIX          = @PREFIX@
    44BINDIR          = $(PREFIX)/bin
    55INCLUDEDIR      = $(PREFIX)/include
    66LIBDIR          = $(PREFIX)/lib
    7 MANDIR          = $(PREFIX)/man
     7MANDIR          = $(PREFIX)/share/man
    88EXAMPLEDIR      = $(PREFIX)/share/examples/mandoc
    99INSTALL         = install
    1010INSTALL_PROGRAM = $(INSTALL) -m 0755
     
    169169        mkdir -p $(DESTDIR)$(MANDIR)/man7
    170170        $(INSTALL_PROGRAM) mandoc $(DESTDIR)$(BINDIR)
    171171        $(INSTALL_MAN) mandoc.1 $(DESTDIR)$(MANDIR)/man1
    172         $(INSTALL_MAN) man.7 mdoc.7 roff.7 mandoc_char.7 $(DESTDIR)$(MANDIR)/man7
     172        $(INSTALL_MAN) mdoc.7 mandoc_char.7 $(DESTDIR)$(MANDIR)/man7
    173173        $(INSTALL_DATA) example.style.css $(DESTDIR)$(EXAMPLEDIR)
    174174
    175175uninstall: