Force copy over existing

pull/425/head
Bill Somerville 2020-10-17 13:25:35 +01:00
rodzic c8a30f2ef3
commit d866d4dc33
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: D864B06D1E81618F
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -108,10 +108,10 @@ hamlibdatetime.h: FORCE
if test -x $(top_srcdir)/.git ; then \
echo "/* This date time is from the last non-merge commit to Hamlib. */" > $@ ;\
echo "#define HAMLIBDATETIME "\"$$(TZ=UTC git --git-dir=$(top_srcdir)/.git log --no-merges --date='format-local:%a %b %d %H:%M:%S %Y %z SHA=' --format='%cd' -n 1)$$(git --git-dir=$(top_srcdir)/.git log --no-merges | grep commit | head -n 1 | cut -c8-13)\" >> $@ ;\
cp $@ $(top_srcdir)/tests/$(@F) ;\
cp -f $@ $(top_srcdir)/tests/$(@F) ;\
fi
test -f $(top_srcdir)/tests/$(@F) || cp $(top_srcdir)/tests/$(@F).in $(top_srcdir)/tests/$(@F)
test -f $@ || cp $(top_srcdir)/tests/$(@F).in $@
test -f $@ || cp $(top_srcdir)/tests/$(@F) $@
FORCE: