mirror of
git://projects.qi-hardware.com/kicad-libs.git
synced 2024-11-22 01:49:43 +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:
parent
694cebf972
commit
21513c1c61
@ -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)|" \
|
||||
|
@ -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; }
|
||||
|
@ -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; }
|
||||
|
Loading…
Reference in New Issue
Block a user