mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-04 04:35:06 -05:00
remove getdate.c from repository
Building from repository now requires installed bison, but released tarballs will still include a generated getdate.c.
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -17,6 +17,7 @@ chronyd
|
||||
chronyd.8
|
||||
config.h
|
||||
config.log
|
||||
getdate.c
|
||||
tags
|
||||
version.h
|
||||
/test/simulation/clknetsim
|
||||
|
||||
@@ -82,7 +82,7 @@ clean :
|
||||
-rm -rf .deps
|
||||
-rm -rf *.dSYM
|
||||
|
||||
getdate.c :
|
||||
getdate.c : getdate.y
|
||||
bison -o getdate.c getdate.y
|
||||
|
||||
# This can be used to force regeneration of getdate.c
|
||||
|
||||
@@ -45,7 +45,7 @@ for m in chronyc.1.in chrony.conf.5.in chronyd.8.in; do
|
||||
mv -f ${m}_ $m
|
||||
done
|
||||
|
||||
./configure && make chrony.txt || exit 1
|
||||
./configure && make chrony.txt getdate.c || exit 1
|
||||
|
||||
awk '/^[1-9] Installation$/{p=1}
|
||||
/^[1-9]\.. Support for line editing/{exit}; p' chrony.txt | \
|
||||
|
||||
Reference in New Issue
Block a user