ossp-pkg/pth/Makefile.in 1.156 -> 1.157
--- Makefile.in 2006/06/08 17:54:51 1.156
+++ Makefile.in 2006/06/12 18:02:52 1.157
@@ -73,6 +73,10 @@
POD2MAN = pod2man
GDB = gdb
PERL = perl
+FIG2DEV = fig2dev
+LATEX = latex
+DVIPS = dvips
+GS = gs
##
## ____ TARGET DEFINITIONS _________________________________________
@@ -214,6 +218,19 @@
test_pthread: test_pthread.o test_common.o libpthread.la
$(LIBTOOL) --mode=link --quiet $(CC) $(LDFLAGS) -o test_pthread test_pthread.o test_common.o libpthread.la $(LIBS)
+# build paper
+rse-pmt.eps: rse-pmt.fig
+ $(FIG2DEV) -L eps -F rse-pmt.fig rse-pmt.eps
+rse-pmt.aux: rse-pmt.tex rse-pmt.eps
+ $(LATEX) rse-pmt.tex
+rse-pmt.dvi: rse-pmt.tex rse-pmt.eps rse-pmt.aux
+ $(LATEX) rse-pmt.tex
+rse-pmt.ps: rse-pmt.dvi
+ $(DVIPS) -o rse-pmt.ps rse-pmt.dvi
+rse-pmt.pdf: rse-pmt.ps
+ $(GS) -q -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 \
+ -sOutputFile=rse-pmt.pdf -c .setpdfwrite -f rse-pmt.ps
+
# install the package
install: all-for-install
@$(MAKE) $(MKFLAGS) install-dirs install-pth @INSTALL_PTHREAD@
@@ -298,11 +315,14 @@
$(RM) pthread-config pthread.h
$(RM) config.log config.cache config.status
$(RM) libtool
+ $(RM) rse-pmt.aux rse-pmt.log
+ $(RM) rse-pmt.eps rse-pmt.dvi
$(RM) *.bak *~
# clean the source tree by removing really all generate stuff
realclean: distclean
$(RM) $(TARGET_MANS)
+ $(RM) rse-pmt.ps
./devtool autoclean
# give hints what to do as the next step
|
|