disable debian stuff when shadow-building
the stuff needs to be run in the source dir and modifies it, which is a bit against the idea of a shadow build. fixes "make distcheck".
This commit is contained in:
parent
e895cd11f7
commit
9f1320ff0c
|
@ -54,6 +54,7 @@ log:
|
||||||
git log --date=iso --log-size --name-only | \
|
git log --date=iso --log-size --name-only | \
|
||||||
perl -e '$(LOG_PL)' > ChangeLog )
|
perl -e '$(LOG_PL)' > ChangeLog )
|
||||||
|
|
||||||
|
if in_source_build
|
||||||
deb:
|
deb:
|
||||||
CFLAGS="-O2 -mcpu=i686" fakeroot debian/rules binary
|
CFLAGS="-O2 -mcpu=i686" fakeroot debian/rules binary
|
||||||
|
|
||||||
|
@ -65,6 +66,7 @@ distdir distclean: deb-clean
|
||||||
|
|
||||||
dist-hook:
|
dist-hook:
|
||||||
find $(distdir)/debian \( -name .git -o -name .gitignore -o -name .#\*# -o -type l \) -print0 | xargs -0r rm -rf
|
find $(distdir)/debian \( -name .git -o -name .gitignore -o -name .#\*# -o -type l \) -print0 | xargs -0r rm -rf
|
||||||
|
endif
|
||||||
|
|
||||||
dist-sign: dist
|
dist-sign: dist
|
||||||
gpg -b -a $(PACKAGE)-$(VERSION).tar.gz
|
gpg -b -a $(PACKAGE)-$(VERSION).tar.gz
|
||||||
|
|
|
@ -94,6 +94,8 @@ if test "x$ob_cv_enable_compat" != xno; then
|
||||||
fi
|
fi
|
||||||
AM_CONDITIONAL(with_compat, test "x$ob_cv_enable_compat" != xno)
|
AM_CONDITIONAL(with_compat, test "x$ob_cv_enable_compat" != xno)
|
||||||
|
|
||||||
|
AM_CONDITIONAL(in_source_build, test "x$srcdir" = x.)
|
||||||
|
|
||||||
AC_OUTPUT(Makefile src/Makefile src/compat/Makefile isync.spec)
|
AC_OUTPUT(Makefile src/Makefile src/compat/Makefile isync.spec)
|
||||||
|
|
||||||
if test -n "$have_ssl_paths"; then
|
if test -n "$have_ssl_paths"; then
|
||||||
|
|
Loading…
Reference in New Issue
Block a user