summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/circuit-macros/examples/xfig/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/circuit-macros/examples/xfig/Makefile')
-rw-r--r--Master/texmf-dist/doc/latex/circuit-macros/examples/xfig/Makefile24
1 files changed, 24 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/circuit-macros/examples/xfig/Makefile b/Master/texmf-dist/doc/latex/circuit-macros/examples/xfig/Makefile
new file mode 100644
index 00000000000..239c7a00d14
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/circuit-macros/examples/xfig/Makefile
@@ -0,0 +1,24 @@
+# The distribution directory
+LIBDIR = $$HOME/lib
+
+# DPIC = $$HOME/dpic/test/dpic
+DPIC = dpic
+
+# M4 = m4 -B16000
+M4 = m4 -I $(LIBDIR)
+
+LIB = xfiglib
+M4MACROS = xfig.m4
+
+.SUFFIXES: .m4 .pic .fig
+.m4.fig:
+ $(M4) $(M4MACROS) $*.m4 > $*.pic
+ $(DPIC) -x $*.pic > $*.fig
+
+$(LIB).fig: $(LIB).m4
+
+clobber: clean
+ rm -f *.fig
+
+clean:
+ rm -f *.pic