-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.am
131 lines (110 loc) · 4.33 KB
/
Makefile.am
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
##-*- makefile -*-############################################################
#
# System :
# Module :
# Object Name : $RCSfile$
# Revision : $Revision$
# Date : $Date$
# Author : $Author$
# Created By : Robert Heller
# Created : Sun May 5 08:13:34 2019
# Last Modified : <190927.1514>
#
# Description
#
# Notes
#
# History
#
# $Log$
#
##############################################################################
#
# Copyright (C) 2019 Robert Heller D/B/A Deepwoods Software
# 51 Locke Hill Road
# Wendell, MA 01379-9728
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
#
#
#
##############################################################################
ACLOCAL_AMFLAGS = -I m4
SUBDIRS = BuildScripts BuildData Scripts ExtraDoc
EXTRA_DIST = Doxyfile.in bootstrap
clean-local:
-rm -rf man html latex GenerateStripboard.pdf
#GenerateStripboardModules = Scripts/FritzingPartsBreadboardEditor.tcl \
# Scripts/FritzingPartsSchematicEditor.tcl \
# Scripts/FritzingPartsPCBEditor.tcl \
# Scripts/FritzingPartsEditor.tcl
GenerateStripboardLib = $(wildcard $(srcdir)/Scripts/*.tcl)
bin_SCRIPTS = GenerateStripboard$(EXEEXT)
man_MANS = man1/GenerateStripboard.1
pkgdatadir = $(datadir)/$(PACKAGE)/Doc
pkgdata_DATA = GenerateStripboard.pdf
install-data-hook: $(top_builddir)/html/index.html
$(INSTALL) -d $(DESTDIR)$(pkgdatadir)/html
for p in html/*; do \
if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
f=`echo $$p | sed -e 's|^.*/||'`; \
echo " $(INSTALL_DATA) '$$d$$p' '$(DESTDIR)$(pkgdatadir)/html/$$f'"; \
$(INSTALL_DATA) "$$d$$p" "$(DESTDIR)$(pkgdatadir)/html/$$f"; \
done
uninstall-hook:
$(INSTALL) -d $(DESTDIR)$(pkgdatadir)/html
for p in html/*; do \
if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
f=`echo $$p | sed -e 's|^.*/||'`; \
echo " rm -f '$(DESTDIR)$(pkgdatadir)/html/$$f'"; \
rm -f "$(DESTDIR)$(pkgdatadir)/html/$$f"; \
done
TCLKIT = $(top_builddir)/BuildData/tclkit${BEXEEXT}
BUILT_SOURCES = $(TCLKIT)
GenerateStripboard$(EXEEXT) : Scripts/GenerateStripboard.tcl \
$(GenerateStripboardLib) ExtraDoc/Version.tcl COPYING
-rm -rf GenerateStripboard.vfs
$(TCLKIT) $(top_srcdir)/BuildScripts/sdx.kit qwrap $(srcdir)/Scripts/GenerateStripboard.tcl
$(TCLKIT) $(top_srcdir)/BuildScripts/sdx.kit unwrap GenerateStripboard.kit
-rm -rf GenerateStripboard.kit
$(TCLKIT) $(top_srcdir)/BuildScripts/AddKitDir.kit GenerateStripboard \
lib $(SNITLIB)
$(TCLKIT) $(top_srcdir)/BuildScripts/AddKitDir.kit GenerateStripboard \
lib $(URILIB)
$(TCLKIT) $(top_srcdir)/BuildScripts/AddKitFile.kit -srcdir $(srcdir)/Scripts GenerateStripboard \
lib/Common $(GenerateStripboardLib) ExtraDoc/Version.tcl
$(TCLKIT) $(top_srcdir)/BuildScripts/MakePkgIndex.kit GenerateStripboard \
Common
$(UNZIP) -qq -d GenerateStripboard.vfs/lib \
$(top_srcdir)/BuildData/Tclxml3.1-GenericPureTcl.zip
$(TCLKIT) $(top_srcdir)/BuildScripts/AddKitFile.kit GenerateStripboard \
License $(top_builddir)/COPYING
$(TCLKIT) $(top_srcdir)/BuildScripts/sdx.kit wrap GenerateStripboard${EXEEXT} -runtime $(top_srcdir)/BuildData/$(TCLKITRUN)
-rm -rf GenerateStripboard.vfs GenerateStripboard.kit
$(top_builddir)/html/index.html \
man1/GenerateStripboard.1 \
GenerateStripboard.pdf : Doxyfile Scripts/GenerateStripboard.tcl \
$(wildcard ExtraDoc/*.h) \
ExtraDoc/Version.tcl BuildScripts/tcldoxyfilter.sh
-rm -rf man1 html latex
$(DOXYGEN)
$(MAKE) -C latex
mv latex/refman.pdf ./GenerateStripboard.pdf
Doxyfile: Doxyfile.in
$(top_builddir)/BuildData/tclkit${BEXEEXT}: FORCE
$(MAKE) -C $(top_builddir)/BuildData tclkit${BEXEEXT}
ExtraDoc/Version.tcl: FORCE
$(MAKE) -C $(top_builddir)/ExtraDoc Version.tcl
FORCE: