Compare commits
3 Commits
version-1.
...
master
Author | SHA1 | Date |
---|---|---|
|
a43e21e3b2 | 5 years ago |
|
deeec7c8b2 | 5 years ago |
|
73d0ec06b0 | 5 years ago |
13 changed files with 37 additions and 14 deletions
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1,19 @@ |
||||
#!/bin/bash -ex |
||||
|
||||
./autogen.sh |
||||
./configure --prefix=/ --docdir=/ --with-latexdir=/ |
||||
make all |
||||
file=$(sed -n 's/AC_INIT(\[\(.*\)\], \[\(.*\)\], .*/\1/p' configure.ac) |
||||
version=$(sed -n 's/AC_INIT(\[\(.*\)\], \[\(.*\)\], .*/\2/p' configure.ac) |
||||
DESTDIR=$(pwd)/${file} make install |
||||
tar czf ${file}-${version}-ctan.tar.gz ${file} |
||||
DESTDIR=$(pwd)/${file} make uninstall maintainer-clean |
||||
for d in $(sed -n 's/SUBDIRS *= *//p' makefile.am); do |
||||
rmdir ${file}/${d} |
||||
done |
||||
rmdir ${file} |
||||
set +x |
||||
echo "=====================================================================" |
||||
echo "File is ready for CTAN upload:" |
||||
echo "${file}-${version}-ctan.tar.gz" |
||||
echo "=====================================================================" |
Before Width: | Height: | Size: 87 KiB After Width: | Height: | Size: 77 KiB |
Loading…
Reference in new issue