making tarball from Makefile

This commit is contained in:
tth 2019-07-28 01:00:12 +02:00
parent 9e60436a35
commit af40e8a0e5
3 changed files with 5 additions and 2 deletions

2
.gitignore vendored
View File

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

View File

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

0
README.txt Normal file
View File