You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
64 lines
1.7 KiB
64 lines
1.7 KiB
13 years ago
|
#!/usr/bin/make -f
|
||
|
|
||
|
include /usr/share/cdbs/1/rules/debhelper.mk
|
||
|
include /usr/share/cdbs/1/class/autotools.mk
|
||
|
|
||
|
SAVERESTORE=\
|
||
|
acinclude.m4 \
|
||
|
aclocal.m4 \
|
||
|
admin/config.guess \
|
||
|
admin/config.sub \
|
||
|
admin/libtool.m4.in \
|
||
|
admin/ltmain.sh \
|
||
|
config.h.in \
|
||
|
configure \
|
||
|
Makefile.in \
|
||
|
puic/Makefile.in \
|
||
|
smoke/Makefile.in \
|
||
12 years ago
|
smoke/tqt/Makefile.in \
|
||
13 years ago
|
PerlTQt/bin \
|
||
13 years ago
|
|
||
|
DEB_AUTO_UPDATE_AUTOCONF := 2.61
|
||
|
|
||
|
DEB_CONFIGURE_EXTRA_FLAGS += \
|
||
|
--prefix=/opt/trinity \
|
||
|
--mandir=\$${prefix}/share/man \
|
||
|
--infodir=\$${prefix}/share/info \
|
||
|
--with-qt-dir=/usr/share/tqt3 \
|
||
|
--disable-rpath \
|
||
|
|
||
|
DEB_MAKE_INSTALL_TARGET := install \
|
||
9 years ago
|
prefix=/usr \
|
||
|
DESTDIR=$(CURDIR)/debian/libtqt-perl
|
||
13 years ago
|
|
||
12 years ago
|
DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
|
||
|
&& echo xz || echo bzip2)
|
||
|
|
||
13 years ago
|
pre-build:: pre-build-stamp
|
||
|
|
||
|
pre-build-stamp:
|
||
|
for f in $(SAVERESTORE) ; do [ -e $$f.d-r-orig ] || cp -rp $$f $$f.d-r-orig ; done
|
||
|
cp -f /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
|
||
9 years ago
|
ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
|
||
13 years ago
|
cp -f /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
|
||
9 years ago
|
endif
|
||
|
ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
|
||
|
cp -f /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
|
||
|
endif
|
||
13 years ago
|
cp -f /usr/share/misc/config.guess admin/config.guess
|
||
|
cp -f /usr/share/misc/config.sub admin/config.sub
|
||
|
make -f admin/Makefile.common
|
||
|
touch pre-build-stamp
|
||
|
|
||
|
build/libtqt-perl::
|
||
|
chrpath -d puic/puic
|
||
|
|
||
|
clean::
|
||
13 years ago
|
rm -f PerlTQt/bin/.exists
|
||
13 years ago
|
for f in $(SAVERESTORE) ; do [ ! -e $$f.d-r-orig ] || ( rm -rf $$f && mv $$f.d-r-orig $$f ) ; done
|
||
|
rm -f pre-build-stamp
|
||
|
|
||
|
repair:
|
||
|
for f in $(SAVERESTORE) ; do rm -f $$f ; cp -p ../orig/*/$$f $$f ; done
|
||
|
|