Skip to content

Commit

Permalink
fix in Makefiles to build without docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Peter Kosyh committed Jan 26, 2014
1 parent e74345c commit 77e0e84
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion doc/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
4 changes: 2 additions & 2 deletions doc/makepdfs
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 77e0e84

Please sign in to comment.