Dear LazyWeb - FreeBSD makefiles

Simon Wistow simon at thegestalt.org
Thu Nov 19 08:26:25 GMT 2009


I have a Makefile (actually a Makefile.am from autoconf but that's 
not important, I think( and it has the rule

%.1:
    -rm -f $@
    pod2man --center="TimeSpliceDB Documentation" --lax \
        --release='$(VERSION)' $(@).pod > $@


Which takes everything of the form <name>.1.pod and truns it into a man 
page.

Which works fine and lovely on my available Mac and Linux boxen but 
fails dismally on my FreeBSD box.

How does one do wildcard Make fules in bsdmake? Please tell me I don't 
have to add 20 nearly identical rules because that will make me cry.




More information about the london.pm mailing list