]> www.wagner.pp.ru Git - oss/catdoc.git/blobdiff - doc/Makefile.in
Applied most patches from Debian package. Rewrote configure to work with modern autoc...
[oss/catdoc.git] / doc / Makefile.in
index 82fc258180f0050757db8c83ef88330fe42908f4..40bf0e0301c476232a3ff1b1e7faff0f388771b5 100644 (file)
@@ -10,8 +10,10 @@ prefix = @prefix@
 exec_prefix = @exec_prefix@
 bindir = @bindir@
 libdir = @libdir@
-mandir = @man1dir@
+mandir = @mandir@
 manext = @manext@ 
+datadir = @datadir@
+datarootdir = @datarootdir@
 %.txt: %.1
        nroff -mandoc $< |col -bx >$@
 %.ps: %.1
@@ -22,17 +24,18 @@ all:
 
 dosdoc: catdoc.txt catdoc.ps xls2csv.txt xls2csv.ps catppt.txt catppt.ps
 clean:
-       rm build
+       $(RM) -f catppt.txt catppt.ps catppt.1 \
+            catdoc.1 catdoc.txt catdoc.ps \
+            xls2csv.1 xls2csv.txt xls2csv.ps \
+            wordview.1 wordview.txt wordview.ps build
 install: @installtargets@
 install-catdoc: catdoc.1 xls2csv.1 catppt.1
        ../mkinstalldirs $(installroot)$(mandir)
-       $(INSTALL) -m 644 catdoc.1 $(installroot)$(mandir)/catdoc$(manext)
-       $(INSTALL) -m 644 xls2csv.1 $(installroot)$(mandir)/xls2csv$(manext)
-       $(INSTALL) -m 644 catppt.1 $(installroot)$(mandir)/catppt$(manext)
+       $(INSTALL) -m 644 catdoc.1 $(installroot)$(mandir)/man1/catdoc.1
+       $(INSTALL) -m 644 xls2csv.1 $(installroot)$(mandir)/man1/xls2csv.1
+       $(INSTALL) -m 644 catppt.1 $(installroot)$(mandir)/man1/catppt.1
 install-wordview:      
        ../mkinstalldirs $(installroot)$(mandir)
-       $(INSTALL) -m 644 wordview.1 $(installroot)$(mandir)/wordview$(manext)
-# Following rules are primarily for developers use. I doubt that you
-# need to rebuild these versions of documentation
-distclean: catppt.txt catppt.ps catdoc.1 catdoc.txt catdoc.ps xls2csv.1  xls2csv.txt xls2csv.ps
+       $(INSTALL) -m 644 wordview.1 $(installroot)$(mandir)/man1/wordview.1
+distclean: clean
        rm Makefile