aboutsummaryrefslogtreecommitdiffhomepage
path: root/distrib/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'distrib/Makefile')
-rw-r--r--distrib/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/distrib/Makefile b/distrib/Makefile
index 78149f730..c03bb75be 100644
--- a/distrib/Makefile
+++ b/distrib/Makefile
@@ -187,10 +187,14 @@ RH/coq.list: ${COQPACKAGE}.tar.gz Makefile config.distrib
cd RH ; tar xzf ../${COQPACKAGE}.tar.gz
cd RH/${COQPACKAGE} ; sh ../do_build
cd RH/${COQPACKAGE} ; make COQINSTALLPREFIX=${DISTRIBDIR}/RH/build install
- cd RH/build ; find . '!' -type d > ../coq.list
+ echo "# This file has been generated" > RH/coq.list
+ echo "# Do not edit" >>RH/coq.list
+ cd RH/build ; find . '!' -type d | sed -e 's|^\./|/|g'>> ../coq.list
coq.spec: RH/coq.list RH/coq.spec.tpl
- cd RH ; m4 -P coq.spec.tpl > ../coq.spec
+ echo "# This file has been generated from RH/coq.spec.tpl" > coq.spec
+ echo "# Do not edit" >> coq.spec
+ cd RH ; m4 -P coq.spec.tpl >> ../coq.spec
##########
contrib-tag: