making tarball from Makefile

master
tth 4 years ago
parent 9e60436a35
commit af40e8a0e5

2
.gitignore vendored

@ -9,6 +9,8 @@ gmon.out
*.pnm
*.fimg
essai
MANIFEST
tarball
*/*.ps

@ -21,6 +21,7 @@ essai: essai.c libfloatimg.a floatimg.h Makefile
TOTAR = *.[ch] Makefile *.sh *.txt doc/*.tex \
funcs/*.[ch] funcs/Makefile \
tools/*.[ch] tools/Makefile \
v4l2/*.[ch] v4l2/Makefile \
lib/*.[ch] lib/Makefile
lines: $(TOTAR)
@ -28,7 +29,7 @@ lines: $(TOTAR)
tarball: $(TOTAR)
date > tarball
ls $(TOTAR) | sed 's/^/Fimg\//' > MANIFEST
( cd .. ; tar zcvf floatimg.tar.gz `cat Fimg/MANIFEST` )
ls $(TOTAR) | sed 's/^/FloatImg\//' > MANIFEST
( cd .. ; tar zcvf floatimg.tar.gz `cat FloatImg/MANIFEST` )
#---------------------------------------------------------------

Loading…
Cancel
Save