Date:2012-12-22 00:25:35 (6 years 10 months ago)
Author:Werner Almesberger
Commit:21513c1c614944c76dc760ac2eeac5ef3f41de47
Message:title page: always generate title.ps when generating the catalog

In order to keep "phony" title.ps from triggering a catalog rebuild when
nothing has changed, we also have to remove it as a dependency from
"catalog", and just invoke "make" explicitly.
Files: common/Makefile.title (1 diff)
components/Makefile (1 diff)
modules/Makefile (1 diff)

Change Details

common/Makefile.title
55GIT_HASH := $(shell git rev-parse HEAD)
66GIT_STATUS := $(shell [ -z "`git status -s -uno`" ] || echo +)
77
8.PHONY: title.ps
9
810title.ps: ../common/title.fig
911        fig2dev -L ps $< | \
1012            sed -e "s|<TITLE-NAME>|$(TITLE_NAME)|" \
components/Makefile
2626DESCR-dcm: *.dcm
2727        ../scripts/dcm2desc -L . >$@ || { rm -f $@; exit 1; }
2828
29catalog catalog.pdf: HIERARCHY DESCR-dcm *.lib $(GEN) title.ps
29catalog catalog.pdf: HIERARCHY DESCR-dcm *.lib $(GEN)
30        $(MAKE) title.ps
3031        genkicat -p -L . -t title.ps HIERARCHY DESCR-dcm \
3132          >catalog.pdf || \
3233          { rm -f catalog.pdf; exit 1; }
modules/Makefile
4040brd: all modules.pro
4141        pcbnew `pwd`/modules.brd
4242
43catalog catalog.pdf: HIERARCHY $(MODULES:%=%.fpd) title.ps
43catalog catalog.pdf: HIERARCHY $(MODULES:%=%.fpd)
44        $(MAKE) title.ps
4445        genkicat -F -p $(MODULES:%=-l %.fpd) -t title.ps \
4546          HIERARCHY DESCR >catalog.pdf || \
4647          { rm -f catalog.pdf; exit 1; }

Archive Download the corresponding diff file

Branches:
master



interactive