diff options
author | Michael Veksler <Mihails.Vekslers@zabbix.com> | 2018-11-02 18:17:09 +0300 |
---|---|---|
committer | Michael Veksler <Mihails.Vekslers@zabbix.com> | 2018-11-02 18:17:09 +0300 |
commit | 0cf39a0e9801bd70b296252cc6a98b5256d8a782 (patch) | |
tree | 700fb0d9923d6c7e57c530d43a84cf4708d43297 /Makefile.am | |
parent | 818253271e4791edff7b0eb6018c60a0015dec1c (diff) |
....I..... [ZBX-14941] implementation through m4 function
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 17 |
1 files changed, 1 insertions, 16 deletions
diff --git a/Makefile.am b/Makefile.am index 43f53b4ec86..181ee3bcd72 100644 --- a/Makefile.am +++ b/Makefile.am @@ -25,22 +25,7 @@ dist-hook: $(top_distdir)/src/zabbix_java/src/com/zabbix/gateway/GeneralInformation.java.new; \ mv $(top_distdir)/src/zabbix_java/src/com/zabbix/gateway/GeneralInformation.java.new \ $(top_distdir)/src/zabbix_java/src/com/zabbix/gateway/GeneralInformation.java; \ - flag=0; pos=0; \ - while read -r line; do \ - pos=$$((pos+1)); \ - case "$$line" in \ - "if test -d tests;"*) fspos=$$pos; flag=1;; \ - "AC_CONFIG_FILES"*) if [ 1 -eq "$$flag" ]; then flag=2; fi;; \ - "tests/Makefile") if [ 2 -eq "$$flag" ]; then flag=3; fi;; \ - "AC_DEFINE([HAVE_TESTS]"*) if [ 3 -eq "$$flag" ]; then flag=4; fi;; \ - "fi") if [ 4 -eq "$$flag" ]; then \ - cat $(top_distdir)/configure.ac | sed -e "$${fspos},$${pos}d" > \ - $(top_distdir)/configure.ac.new; break; fi;; \ - esac \ - done < $(top_distdir)/configure.ac; \ - if [ -f "$(top_distdir)/configure.ac.new" ]; then \ - mv $(top_distdir)/configure.ac.new $(top_distdir)/configure.ac; \ - fi + rm -f $(top_distdir)/m4/make_tests.m4 rm -rf `find $(top_distdir) -name ".svn"` rm -f $(top_distdir)/include/config.h |