1
0
mirror of git://projects.qi-hardware.com/kicad-libs.git synced 2024-11-21 20:57:12 +02:00

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.
This commit is contained in:
Werner Almesberger 2012-12-21 20:25:35 -03:00
parent 694cebf972
commit 21513c1c61
3 changed files with 6 additions and 2 deletions

View File

@ -5,6 +5,8 @@ COMMIT_DATE := $(shell date -u +'%F %T UTC' \
GIT_HASH := $(shell git rev-parse HEAD)
GIT_STATUS := $(shell [ -z "`git status -s -uno`" ] || echo +)
.PHONY: title.ps
title.ps: ../common/title.fig
fig2dev -L ps $< | \
sed -e "s|<TITLE-NAME>|$(TITLE_NAME)|" \

View File

@ -26,7 +26,8 @@ sch: $(GEN)
DESCR-dcm: *.dcm
../scripts/dcm2desc -L . >$@ || { rm -f $@; exit 1; }
catalog catalog.pdf: HIERARCHY DESCR-dcm *.lib $(GEN) title.ps
catalog catalog.pdf: HIERARCHY DESCR-dcm *.lib $(GEN)
$(MAKE) title.ps
genkicat -p -L . -t title.ps HIERARCHY DESCR-dcm \
>catalog.pdf || \
{ rm -f catalog.pdf; exit 1; }

View File

@ -40,7 +40,8 @@ modules.pro: Makefile
brd: all modules.pro
pcbnew `pwd`/modules.brd
catalog catalog.pdf: HIERARCHY $(MODULES:%=%.fpd) title.ps
catalog catalog.pdf: HIERARCHY $(MODULES:%=%.fpd)
$(MAKE) title.ps
genkicat -F -p $(MODULES:%=-l %.fpd) -t title.ps \
HIERARCHY DESCR >catalog.pdf || \
{ rm -f catalog.pdf; exit 1; }