chiark / gitweb /
proper creation of oprints-l
authorian <ian>
Mon, 30 Aug 2004 02:45:26 +0000 (02:45 +0000)
committerian <ian>
Mon, 30 Aug 2004 02:45:26 +0000 (02:45 +0000)
.cvsignore
pcb/Makefile
pic.make
spice/Makefile

index 01d265ad1e7b7b4ea74aa8622da4e1477df28de8..245853a9004986adaff9a45110a749bfe8eff303 100644 (file)
@@ -30,6 +30,7 @@ detectors.net
 detectors.net-info
 detectors.net-spec
 *.oprints-l
+*.oprints-l-tmp
 *.tmp
 *.oprint-*.ps
 *.pcb.output_*.ps
index 5c81755d278d1342fac5245ed866df0931b9fae3..b24a80c07efc9b49c7a9174d96f9f0da09b23bb5 100644 (file)
@@ -40,6 +40,8 @@ netlists:     reversers.net detectors.net
 #
 # then
 #   make {reversers,detectors}.oprints{-l,-lpr}
+#   for f in *.oprint-*.ps; do gv -scale -1 -media A4 $f; done
+#   etc.
 
 OPRINTS=       %.oprint-copper.ps              \
                %.pcb.output_fab.ps             \
@@ -47,15 +49,13 @@ OPRINTS=    %.oprint-copper.ps              \
                %.oprint-assembly.ps
 
 %.oprints:     $(OPRINTS)
-                       true
+                       echo $^ >$@-l-tmp
 
-%.oprints-l:   $(OPRINTS) %.oprints
-                       echo $^ $o
+%.oprints-l:   $(OPRINTS) %.oprints Makefile
+                       cp $@-tmp $@
 
 pcboprints:    reversers.oprints-l detectors.oprints-l
 
-pcbcombprints: detectors.oprint-combine.ps reversers.oprint-combine.ps
-
 %.oprints-lpr: %.oprints-l
                set -e; for f in `cat $^`; do echo lpr $$f; done
 
@@ -73,9 +73,6 @@ pcbcombprints:        detectors.oprint-combine.ps reversers.oprint-combine.ps
 %.oprint-assembly.ps:  %.pcb.output_assembly.ps Makefile
                pstops -pa4 '0@2(-109mm,-290mm)' <$< $o
 
-# these outputs from pstops are really A4 and can be viewed nicely with
-#  for f in *.oprint-*.ps; do gv -scale -1 -media A4 $f; done
-
 %.net:         %.net-info
                sed -e '/^\#/d' <$< $o
 
index 5c81755d278d1342fac5245ed866df0931b9fae3..b24a80c07efc9b49c7a9174d96f9f0da09b23bb5 100644 (file)
--- a/pic.make
+++ b/pic.make
@@ -40,6 +40,8 @@ netlists:     reversers.net detectors.net
 #
 # then
 #   make {reversers,detectors}.oprints{-l,-lpr}
+#   for f in *.oprint-*.ps; do gv -scale -1 -media A4 $f; done
+#   etc.
 
 OPRINTS=       %.oprint-copper.ps              \
                %.pcb.output_fab.ps             \
@@ -47,15 +49,13 @@ OPRINTS=    %.oprint-copper.ps              \
                %.oprint-assembly.ps
 
 %.oprints:     $(OPRINTS)
-                       true
+                       echo $^ >$@-l-tmp
 
-%.oprints-l:   $(OPRINTS) %.oprints
-                       echo $^ $o
+%.oprints-l:   $(OPRINTS) %.oprints Makefile
+                       cp $@-tmp $@
 
 pcboprints:    reversers.oprints-l detectors.oprints-l
 
-pcbcombprints: detectors.oprint-combine.ps reversers.oprint-combine.ps
-
 %.oprints-lpr: %.oprints-l
                set -e; for f in `cat $^`; do echo lpr $$f; done
 
@@ -73,9 +73,6 @@ pcbcombprints:        detectors.oprint-combine.ps reversers.oprint-combine.ps
 %.oprint-assembly.ps:  %.pcb.output_assembly.ps Makefile
                pstops -pa4 '0@2(-109mm,-290mm)' <$< $o
 
-# these outputs from pstops are really A4 and can be viewed nicely with
-#  for f in *.oprint-*.ps; do gv -scale -1 -media A4 $f; done
-
 %.net:         %.net-info
                sed -e '/^\#/d' <$< $o
 
index 5c81755d278d1342fac5245ed866df0931b9fae3..b24a80c07efc9b49c7a9174d96f9f0da09b23bb5 100644 (file)
@@ -40,6 +40,8 @@ netlists:     reversers.net detectors.net
 #
 # then
 #   make {reversers,detectors}.oprints{-l,-lpr}
+#   for f in *.oprint-*.ps; do gv -scale -1 -media A4 $f; done
+#   etc.
 
 OPRINTS=       %.oprint-copper.ps              \
                %.pcb.output_fab.ps             \
@@ -47,15 +49,13 @@ OPRINTS=    %.oprint-copper.ps              \
                %.oprint-assembly.ps
 
 %.oprints:     $(OPRINTS)
-                       true
+                       echo $^ >$@-l-tmp
 
-%.oprints-l:   $(OPRINTS) %.oprints
-                       echo $^ $o
+%.oprints-l:   $(OPRINTS) %.oprints Makefile
+                       cp $@-tmp $@
 
 pcboprints:    reversers.oprints-l detectors.oprints-l
 
-pcbcombprints: detectors.oprint-combine.ps reversers.oprint-combine.ps
-
 %.oprints-lpr: %.oprints-l
                set -e; for f in `cat $^`; do echo lpr $$f; done
 
@@ -73,9 +73,6 @@ pcbcombprints:        detectors.oprint-combine.ps reversers.oprint-combine.ps
 %.oprint-assembly.ps:  %.pcb.output_assembly.ps Makefile
                pstops -pa4 '0@2(-109mm,-290mm)' <$< $o
 
-# these outputs from pstops are really A4 and can be viewed nicely with
-#  for f in *.oprint-*.ps; do gv -scale -1 -media A4 $f; done
-
 %.net:         %.net-info
                sed -e '/^\#/d' <$< $o