moth/packages/steg/10/Makefile

15 lines
285 B
Makefile
Raw Normal View History

IMG = http://mfrost.typepad.com/cute_overload/images/2008/02/11/bunny.jpg
2010-10-12 16:58:34 -06:00
install: file.jpg
2010-10-12 16:58:34 -06:00
cp $< $(DESTDIR)/$$(md5sum $< | awk '{print $$1;}')
src.jpg:
wget -O src.jpg $(IMG)
2010-10-12 16:58:34 -06:00
file.jpg: src.jpg
cat src.jpg > $@
m4 -DKEY="$(shell cat key)" text.txt >> $@
2010-10-12 16:58:34 -06:00
clean:
rm -f file.jpg