summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorWerner Almesberger <werner@almesberger.net>2016-09-08 05:37:16 (GMT)
committerWerner Almesberger <werner@almesberger.net>2016-09-08 05:37:16 (GMT)
commit2023cbaea772add8c0f9f81feff49efb1d30ed99 (patch)
tree8e7d9454ff49c37b165d9c81f5c7ef12cce566ca /Makefile
parent343fb24ecb118e1c027dcfc20cc2317657f60664 (diff)
downloadeeshow-2023cbaea772add8c0f9f81feff49efb1d30ed99.zip
eeshow-2023cbaea772add8c0f9f81feff49efb1d30ed99.tar.gz
eeshow-2023cbaea772add8c0f9f81feff49efb1d30ed99.tar.bz2
kicad/pl-parse.c (pl_parse_search): use KiCad's default page layout as default
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 9b9b8fb..e06e526 100644
--- a/Makefile
+++ b/Makefile
@@ -136,6 +136,16 @@ gui/icons.c: $(ICONS:%=icons/%.hex)
clean::
rm -f $(ICONS:%=icons/%.hex)
+#----- Default page layout ----------------------------------------------------
+
+pl-default.inc: page_layout_default_description.cpp
+ sed '1,/^extern/d;s/\\\\n/ /' $< >$@ || { rm -f $@; exit 1; }
+
+kicad/pl-parse.c: pl-default.inc
+
+clean::
+ rm -f pl-default.inc
+
#----- Test sheet -------------------------------------------------------------
sch: