Annotation of ratfiv/Makefile, revision 1.1

1.1     ! brouard     1: # This Makefile needs GNU make
        !             2: #
        !             3: # copy this file to the directory where your eps figures are
        !             4: # and simply run make in order to update the pdf's
        !             5: #
        !             6: 
        !             7: # this does not work on Solaris with GNU make 3.77 (propably a bug)
        !             8: EPS_FILES = $(wildcard *.eps)
        !             9: 
        !            10: # use this instead
        !            11: #EPS_FILES = $(shell dir *.eps)
        !            12: 
        !            13: PDFS := $(patsubst %.eps, %.pdf, $(EPS_FILES))
        !            14: 
        !            15: default: $(PDFS)
        !            16: 
        !            17: %.pdf: %.eps
        !            18:        epstopdf $<
        !            19: 
        !            20: .PHONY : clean
        !            21: 
        !            22: clean :
        !            23:        -rm *.pdf

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>