From cc22d7d083fa62523071a74683b227d838f6642f Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Fri, 9 Dec 2022 13:09:00 +0900 Subject: Drop automake build support. Signed-off-by: Michele Calgaro --- developer-doc/Makefile.am | 7 --- developer-doc/phb/Makefile.am | 113 ------------------------------------------ 2 files changed, 120 deletions(-) delete mode 100644 developer-doc/Makefile.am delete mode 100644 developer-doc/phb/Makefile.am (limited to 'developer-doc') diff --git a/developer-doc/Makefile.am b/developer-doc/Makefile.am deleted file mode 100644 index 643c773..0000000 --- a/developer-doc/Makefile.am +++ /dev/null @@ -1,7 +0,0 @@ -KDE_OPTIONS = noautodist - -####### tdevelop will overwrite this part!!! (begin)########## - -SUBDIRS = phb - -####### tdevelop will overwrite this part!!! (end)############ diff --git a/developer-doc/phb/Makefile.am b/developer-doc/phb/Makefile.am deleted file mode 100644 index f3024e5..0000000 --- a/developer-doc/phb/Makefile.am +++ /dev/null @@ -1,113 +0,0 @@ -KDE_OPTIONS = noautodist - -DOCBOOK_FILES = phb.docbook cfg-mgmt.docbook coding.docbook cvs-examples.docbook src-examples.docbook licence.docbook error-mgmt.docbook unit-test.docbook rel-mgmt.docbook test-examples.docbook rpm-example.docbook fdl-licence translation.docbook dialogs.docbook documentation.docbook settings.docbook submissions.docbook - -EXTRA_DIST = $(DOCBOOK_FILES) - -MOSTLYCLEANFILES = *.html *.pdf *.ps phb.docbook.tex online-phb.tar.bz2 - -TARGETS = phb.html - -if GENERATE_PDF -PDF_TARGET = kmymoney-phb.pdf -endif - -.PHONY: all show preview get-files clear-files web -all: $(TARGETS) $(PDF_TARGET) - -STYLESHEET = tde-nochunk.xsl - -phb.html: $(DOCBOOK_FILES) - @if test -e $(MEINPROC); then \ - $(MEINPROC) --stylesheet $(kde_libs_prefix)/share/apps/ksgmltools2/customization/$(STYLESHEET) $(srcdir)/phb.docbook --stdout | \ - iconv -f ISO-8859-1 -t UTF-8 | \ - sed "s/ISO-8859-1/UTF-8/g" > phb.html; \ - fi - -preview: phb.html - -show: preview - konqueror phb.html - -# if we're in a VPATH environment, we need to copy all files over -# to the build directory. Otherwise, we'll get into trouble. Of course -# we delete them afterwards. -get-files: - if test -n "$(VPATH)" ; then \ - if test x$(VPATH) != x.; then \ - for file in $(DOCBOOK_FILES) $(SCREENSHOT_FILES); do \ - cp $(srcdir)/$$file .; \ - chmod +w $$file; \ - done; \ - fi \ - fi - -clear-files: - if test -n "$(VPATH)" ; then \ - if test x$(VPATH) != x.; then \ - for file in $(DOCBOOK_FILES) $(SCREENSHOT_FILES); do chmod +w $$file; rm $$file; done; \ - fi \ - fi - - -web: phb/index.html - -phb/index.html: $(DOCBOOK_FILES) - if test -x $(abs_top_srcdir)/contrib/splitup-kde-chunk-online; then \ - rm -rf phb common; \ - mkdir phb; \ - mkdir common; \ - $(MEINPROC) --stylesheet `dirname $(KDE_XSL_STYLESHEET)`/tde-chunk-online.xsl $(srcdir)/phb.docbook -o phb/index.xml; \ - cd phb; \ - $(abs_top_srcdir)/contrib/splitup-kde-chunk-online; \ - rm index.xml; \ - cd ..; \ - make get-files; \ - for file in $(SCREENSHOT_FILES); do \ - cp $$file phb; \ - done; \ - make clear-files; \ - cp $(kde_libs_htmldir)/en/common/* common; \ - if test ! -z "$(PDF_TARGET)"; then \ - cp $(PDF_TARGET) phb; \ - fi; \ - fi; - -sf-username: - @if test -z $(SF_USER); then \ - echo "The environment variable SF_USER must be set to your"; \ - echo "SourceForge username and you must have write access"; \ - echo "to the project space before the upload will work."; \ - exit 1; \ - fi; - - -web-upload: sf-username web - if test -e common; then \ - echo "cd htdocs/common" > upload.batch; \ - echo "rm *" >> upload.batch; \ - echo lcd common >> upload.batch; \ - echo "mput *" >> upload.batch; \ - echo cd ../phb >> upload.batch; \ - echo "rm *" >> upload.batch; \ - echo lcd ../phb >> upload.batch; \ - echo "mput *" >> upload.batch; \ - echo "rm index.xml"; \ - echo "Uploading prject handbook files to web.sourceforge.net"; \ - sftp -b upload.batch $(SF_USER),kmymoney2@web.sourceforge.net; \ - rm -rf upload.batch; \ - fi; - -# if we're in a VPATH environment, we need to copy all files over -# to the build directory. Otherwise, we'll get into trouble. Of course -# we delete them afterwards. - -if GENERATE_PDF -kmymoney-phb.pdf: $(DOCBOOK_FILES) - $(MAKE) get-files - $(MEINPROC) --stylesheet `dirname $(KDE_XSL_STYLESHEET)`/tde-nochunk.xsl $(srcdir)/phb.docbook -o index.html - html2ps -o kmymoney-phb.ps -n index.html - ps2pdf kmymoney-phb.ps kmymoney-phb.pdf - rm index.html kmymoney-phb.ps - $(MAKE) clear-files -endif -- cgit v1.2.1