source: trunk/dports/tex/texlive/patch-texk_make_man_mk @ 30880

Last change on this file since 30880 was 30880, checked in by milosh@…, 13 years ago

A tentative texlive port.

  • Property svn:executable set to *
File size: 867 bytes
Line 
1$OpenBSD: patch-texk_make_man_mk,v 1.1.1.1 2007/07/17 21:53:27 jasper Exp $
2--- texk/make/man.mk.orig       Tue Apr 17 20:28:51 2007
3+++ texk/make/man.mk    Tue Apr 17 20:35:25 2007
4@@ -51,16 +51,16 @@ sedscript:
5        echo 's%@LOCALMODES@%$(localmodes)%'    >>sedscript
6 
7 install-man: manfiles
8-       $(top_srcdir)/../mkinstalldirs $(man1dir)
9+       $(top_srcdir)/../mkinstalldirs ${DESTDIR}$(man1dir)
10        for nameone in $(manfiles); do                                  \
11           name=`basename $${nameone} .1`;                              \
12-          $(INSTALL_DATA) $${name}.1 $(man1dir)/$${name}.$(manext);    \
13+          $(INSTALL_DATA) $${name}.1 ${DESTDIR}$(man1dir)/$${name}.$(manext);  \
14         done
15 
16 uninstall-man:
17        for nameone in $(manfiles); do                                  \
18          name=`basename $${nameone} .1`;                               \
19-         rm -f $(man1dir)/$${name}.$(manext);                          \
20+         rm -f ${DESTDIR}$(man1dir)/$${name}.$(manext);                                \
21        done
22 
23 install-data: install-man
Note: See TracBrowser for help on using the repository browser.