Re: Help with makefiles
Dmitrijs Ledkovs wrote:
> I have a lot of manpages written in pod and instead of 15 lines in
> rules I want to have just 3.
> It's not quite working though =(((
>
> ./debian/rules -n build/manpages
> for i in addld mkfastmod mod2imp osis2mod imp2gbs imp2ld imp2vs
> vpl2mod vs2osisref tei2mod xml2gbs installmgr; do
> pod2man --release= --center "" -n `echo | tr '[a-z]' '[A-Z]'`
> debian/.1.pod > (i).1
> done
Are there newlines in the for-loop? They must be removed or
replaced by a backslash in a Makefile:
target:
for i in whatever; do \
foo $i ; \
done
Regards, Daniel
--
Neu: GMX FreeDSL Komplettanschluss mit DSL 6.000 Flatrate + Telefonanschluss für nur 17,95 Euro/mtl.!* http://dslspecial.gmx.de/freedsl-surfflat/?ac=OM.AD.PD003K11308T4569a
Reply to: