From 77e0e84808dcdc5adf1b4d8f087918937f5eb903 Mon Sep 17 00:00:00 2001 From: Peter Kosyh Date: Sun, 26 Jan 2014 15:07:31 +0400 Subject: [PATCH] fix in Makefiles to build without docs --- Makefile | 2 +- doc/Makefile | 2 +- doc/makepdfs | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index a85b762b1..0b365d169 100644 --- a/Makefile +++ b/Makefile @@ -28,7 +28,7 @@ rules: ln -sf Rules.make.standalone Rules.make docs: rules -# make docs -C doc/ + make docs -C doc/ PKGBUILD: PKGBUILD.in tarball cat PKGBUILD.in | sed -e s/MD5SUM/`md5sum $(ARCHIVE) | cut -f1 -d' '`/g > PKGBUILD diff --git a/doc/Makefile b/doc/Makefile index 81633369b..782047006 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -23,7 +23,7 @@ docs: wiki man pdf install: $(INSTALLD) $(DESTDIR)$(DOCPATH) - $(INSTALL) *.txt *.html *.pdf $(DESTDIR)$(DOCPATH) + -$(INSTALL) instead.txt *.html *.pdf $(DESTDIR)$(DOCPATH) $(INSTALLD) $(DESTDIR)$(MANPATH) $(INSTALL) *.6 $(DESTDIR)$(MANPATH) diff --git a/doc/makepdfs b/doc/makepdfs index ad20420d8..952bd0c7b 100755 --- a/doc/makepdfs +++ b/doc/makepdfs @@ -40,7 +40,7 @@ function build_manual() pdflatex instead-manual.tex pdflatex instead-manual.tex pdflatex instead-manual.tex - rm -f *.toc *.aux *.out *.log + rm -f *.toc *.aux *.out *.log instead-manual.tex } function build_modules() @@ -72,7 +72,7 @@ function build_modules() pdflatex instead-modules.tex pdflatex instead-modules.tex pdflatex instead-modules.tex - rm -f *.toc *.aux *.out *.log + rm -f *.toc *.aux *.out *.log instead-modules.tex } build_manual build_modules