# default target builds indices DOS= # -dosnames # for file-name mapping indices: perl build.help ${DOS} -htmllists help-%: perl build.help ${DOS} -nroff -html -example -latex $* contents-%: perl Rd2contents ../../library/$* ../../../library/$*/CONTENTS pkg-%: perl build.help ${DOS} -nroff -html -example -latex ../../library/$* ziphelp-%: $(MAKE) -C ../../../library/$* -f ../../src/gnuwin32/help/makefile ZIPFLAGS=jqX PKG=$* zipit ziponlyhelp-%: $(MAKE) -C ../../../library/$* -f ../../src/gnuwin32/help/makefile ZIPFLAGS=jqmX PKG=$* zipit winhelp-%: $(MAKE) -C ../../library/$* -f ../../gnuwin32/help/makefile PKG=$* win clean: rm -fr *~ # to be run from src/library/pkg win: $(PKG).rtf -mkdir ../../../library/$(PKG)/winhlp cp -p $(PKG).hlp $(PKG).cnt ../../../library/$(PKG)/winhlp %.rtf: man/*.Rd -$(RM) -f $*.rtf perl ../../gnuwin32/help/Rd2Sd.pl -p $* man/*.Rd perl -S nr2hlp $* $*.Sd hcp505 $* $(RM) -f $*.ph $*.hpj $*.rtf # following are designed to be run from the library/pkg directory: zipit: help/Rhelp.zip help/Rhelp.zip: ../../src/library/$(PKG)/man/*.Rd -$(MAKE) -C help -f ../../../src/gnuwin32/help/makefile uz-Rhelp -$(MAKE) -C R-ex -f ../../../src/gnuwin32/help/makefile uz-Rex -$(MAKE) -C latex -f ../../../src/gnuwin32/help/makefile uz-Rhelp -$(MAKE) -C ../../src/gnuwin32/help help-$(PKG) zip -${ZIPFLAGS} help/Rhelp help/* -x help/00Titles help/AnIndex zip -${ZIPFLAGS} R-ex/Rex R-ex/*.R zip -${ZIPFLAGS} latex/Rhelp latex/*.tex uz-%: unzip -qou $* # # old # unzip-%: # -$(MAKE) -C ../../../library/$*/help -f ../../../src/gnuwin32/help/makefile uz-Rhelp # -$(MAKE) -C ../../../library/$*/R-ex -f ../../../src/gnuwin32/help/makefile uz-Rex # -$(MAKE) -C ../../../library/$*/latex -f ../../../src/gnuwin32/help/makefile uz-Rhelp # uz-%: # unzip -qou $* # zip: # zip -${ZIPFLAGS} latex/Rhelp latex/*.tex # zip -${ZIPFLAGS} R-ex/Rex R-ex/*.R # zip -${ZIPFLAGS} help/Rhelp help/* -x help/00Titles help/AnIndex