pcb-rnd.mk: remove use of project, add instantiation of project.lht
authorBdale Garbee <bdale@gag.com>
Fri, 17 Aug 2018 03:19:31 +0000 (21:19 -0600)
committerBdale Garbee <bdale@gag.com>
Fri, 17 Aug 2018 03:19:31 +0000 (21:19 -0600)
pcb-rnd.mk

index 28b8f1f72a502cd0545b086309a988ad0f7577ee..da4ea57d4c9c5e2ac9b1abc412ed458a6a1cdb63 100644 (file)
@@ -13,7 +13,7 @@ ifndef SCHEMATICS
        SCHEMATICS=$(PROJECT).sch
 endif
 
-CONFIG=gafrc attribs project project.lht
+CONFIG=gafrc attribs project.lht
 
 all:   drc partslist partslist.csv pcb
 
@@ -275,11 +275,6 @@ $(PROJECT)-big.pdf:        $(PROJECT)-big.ps
 
 pdf:   $(PROJECT)-sch.pdf $(PROJECT)-pcb.pdf $(PROJECT)-big.pdf
 
-project:
-       (echo 'schematics $(SCHEMATICS)'; \
-        echo 'output-name $(PROJECT)'; \
-        echo 'skip-m4') > $@
-
 attribs: $(AM)/attribs
        cp $(AM)/attribs $@
 
@@ -288,5 +283,8 @@ gafrc:
         echo '(reset-component-library)'; \
         echo '(load "../altusmetrum/gafrc")') > $@
 
+project.lht: $(AM)/lihata/project.lht
+       cp $(AM)/lihata/project.lht .
+
 .gitignore: $(AM)/gitignore.in
        sed 's/@@PROJECT@@/$(PROJECT)/g' $(AM)/gitignore.in > .gitignore