mirror of
https://codeberg.org/scip/pcp.git
synced 2025-12-17 12:00:56 +01:00
autogen.sh now generates clean.sh which can be used to clean up the tree before comitting
This commit is contained in:
13
autogen.sh
13
autogen.sh
@@ -1,8 +1,7 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
# clear up the mess
|
cat <<EOF > clean.sh
|
||||||
set -x
|
#!/bin/sh
|
||||||
|
|
||||||
find . -name Makefile -exec rm {} \;
|
find . -name Makefile -exec rm {} \;
|
||||||
find . -name Makefile.in -exec rm {} \;
|
find . -name Makefile.in -exec rm {} \;
|
||||||
find . -name "*~" -exec rm {} \;
|
find . -name "*~" -exec rm {} \;
|
||||||
@@ -13,9 +12,11 @@ find . -name .libs -exec rm -rf {} \;
|
|||||||
find . -name .o -exec rm -rf {} \;
|
find . -name .o -exec rm -rf {} \;
|
||||||
find . -name .lo -exec rm -rf {} \;
|
find . -name .lo -exec rm -rf {} \;
|
||||||
|
|
||||||
rm -rf configure config.* config autom4te.cache tests/test* tests/v* tests/stresstest/* \
|
rm -rf aclocal.m4 libtool man/pcp1.1 configure config.* config autom4te.cache tests/test* tests/v* tests/stresstest/* libpcp/libpcp1.pc
|
||||||
libpcp/libpcp1.pc
|
rm clean.sh
|
||||||
set +x
|
EOF
|
||||||
|
|
||||||
|
chmod 700 clean.sh
|
||||||
|
|
||||||
# generate the install include file
|
# generate the install include file
|
||||||
(echo "#ifndef _HAVE_PCP"; echo "#define _HAVE_PCP"; echo) > include/pcp.h
|
(echo "#ifndef _HAVE_PCP"; echo "#define _HAVE_PCP"; echo) > include/pcp.h
|
||||||
|
|||||||
Reference in New Issue
Block a user