diff options
| author | Dominik Riebeling <Dominik.Riebeling@gmail.com> | 2008-04-07 17:27:37 +0000 |
|---|---|---|
| committer | Dominik Riebeling <Dominik.Riebeling@gmail.com> | 2008-04-07 17:27:37 +0000 |
| commit | 3273418598d9cab30b9de216c7d0f3b5c565e532 (patch) | |
| tree | bff48eb834752a19846954bf7853b311574c156b | |
| parent | 799e9489caa41fde88f5ebabf174d4c8646deb1a (diff) | |
| download | rockbox-3273418598d9cab30b9de216c7d0f3b5c565e532.zip rockbox-3273418598d9cab30b9de216c7d0f3b5c565e532.tar.gz rockbox-3273418598d9cab30b9de216c7d0f3b5c565e532.tar.bz2 rockbox-3273418598d9cab30b9de216c7d0f3b5c565e532.tar.xz | |
Fix building the manual on ubuntu (dash issue again). Also, make credits file generation a bit nicer.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17020 a1c6a512-1295-4272-9138-f99709370657
| -rw-r--r-- | manual/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/manual/Makefile b/manual/Makefile index 52f6bd5..7c861de 100644 --- a/manual/Makefile +++ b/manual/Makefile @@ -24,7 +24,7 @@ manual-prep: rockbox.tex @find * -type d \! -regex '.*\.svn.*' -exec mkdir -p $(OBJDIR)/{} \; @find * -type f \! -regex '.*\.svn.*' -exec cp -u {} $(OBJDIR)/{} \; @printf "%s%%" $(VERSION) > $(OBJDIR)/version.tex - @perl credits.pl < $(ROOTDIR)/docs/CREDITS > $(OBJDIR)/CREDITS.tex + @perl credits.pl < $(DOCSDIR)/CREDITS > $(OBJDIR)/CREDITS.tex @printf "\\\\newcommand{\\\\platform}{${MANUALDEV}}\n" > $(OBJDIR)/$(MANFILE).tex @printf "\\\\newcommand{\\\\buildversion}{$(VERSION)}\n" >> $(OBJDIR)/$(MANFILE).tex @printf "\\\\input{rockbox.tex}\n" >> $(OBJDIR)/$(MANFILE).tex @@ -35,8 +35,8 @@ $(OBJDIR)/features: $(ROOTDIR)/apps/features.txt $(SILENT)cat $< | $(HOSTCC) -DMEMORYSIZE=$(MEMORYSIZE) $(INCLUDES) \ $(TARGET) $(DEFINES) $(EXTRA_DEFINES) -E -P -imacros "config.h" -imacros "button.h" - | \ grep -v "^\#" | grep -v "^$$" > $@; \ - for f in `cat $(OBJDIR)/features`; do feat="$$feat\n\\\edef\\UseOption{\\UseOption,$$f}" ; done ; \ - echo -e "$$feat" >$(OBJDIR)/features.tex + for f in `cat $(OBJDIR)/features`; do feat="$$feat\\n\\\\edef\\\\UseOption{\\\\UseOption,$$f}" ; done ; \ + printf "$$feat" >$(OBJDIR)/features.tex manual-pdf: features manual-prep rockbox.tex $(MAKE) -C $(OBJDIR) buildmanual |