Hello!
I'm desperately trying to write a makefile that converts and scales jpeg files to png files in subdirectories
I want to use netpbm, so I just need the commands:
anytopnm
pnmscale
pnmtopng
For various reasons i want to use a makefile. This is the first time i use the make tool and it's a too complicated for me.
Here is my attempt, without resizing untill now:
all :
find -name "*.jpeg" > alljpeg.txt
@anytopnm `cat alljpeg.txt | sort | uniq -u` > $@.png
@echo "$@" >> clean.log
but it doesn't work, I already had six attempts but always the same, I'm reading now for 4 hours an I still think I#m not any closer to a solution.
Any help will be appreciated!
Clueless greetings
Henningbaer