diff options
author | Alex Kalimulin <aleksandrs.kalimulins@zabbix.com> | 2019-04-21 14:35:40 +0300 |
---|---|---|
committer | Alex Kalimulin <aleksandrs.kalimulins@zabbix.com> | 2019-04-21 18:38:54 +0300 |
commit | e6b1b0dfe4ace8daba7ad796fb8bab74675d7094 (patch) | |
tree | 55cb8f8bd0d08600d897f3e8562dd58cc40838d9 /Makefile.am | |
parent | 64903d79f6d4c1c84eb87074e3e439a906dfd78a (diff) |
.......... [DEV-954] added empty directories, patched some files for Git migration
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am index 3bb454cc69c..b2e88d0a030 100644 --- a/Makefile.am +++ b/Makefile.am @@ -18,7 +18,7 @@ EXTRA_DIST = \ ## "dist-hook" run after the distribution directory is filled, but before the actual tar (or shar) file is created. dist-hook: - @zabbix_revision=`svn info $(top_srcdir)|sed -n -e "/Last Changed Rev:/s/.*: \([[0-9]]*\)/\1/p"`; \ + @zabbix_revision=`git -C $(top_srcdir) rev-parse --short HEAD`; \ cat $(top_distdir)/include/version.h|sed "s/{ZABBIX_REVISION}/$$zabbix_revision/g" > $(top_distdir)/include/version.h.new; \ mv $(top_distdir)/include/version.h.new $(top_distdir)/include/version.h; \ cat $(top_distdir)/src/zabbix_java/src/com/zabbix/gateway/GeneralInformation.java|sed "s/{ZABBIX_REVISION}/$$zabbix_revision/g" > \ @@ -27,7 +27,7 @@ dist-hook: $(top_distdir)/src/zabbix_java/src/com/zabbix/gateway/GeneralInformation.java; \ rm -f $(top_distdir)/conf_tests.m4 - rm -rf `find $(top_distdir) -name ".svn"` + rm -rf `find $(top_distdir) -name ".gitignore" -o -name ".gitattributes"` rm -f $(top_distdir)/include/config.h rm -f $(top_distdir)/frontends/php/conf/zabbix.conf.php rm -rf $(top_distdir)/frontends/php/tests |