All pastes #185977 Raw Edit

Gloubi

public shellscript v1 · immutable
#185977 ·published 2006-09-29 13:24 UTC
rendered paste body
#!/usr/bin/make -f# -*- mode: makefile; coding: utf-8 -*-include /usr/share/cdbs/1/rules/debhelper.mkinclude /usr/share/cdbs/1/rules/simple-patchsys.mkinclude /usr/share/cdbs/1/class/gnome.mkinclude /usr/share/gnome-pkg-tools/1/rules/uploaders.mkVARIANTS := gcalctool gcalctool-gtkDEB_CONFIGURE_EXTRA_FLAGS_gcalctool-gtk := --disable-gnomeDEB_CONFIGURE_EXTRA_FLAGS_gcalctool :=DEB_CONFIGURE_SCRIPT_ENV += LDFLAGS="-Wl,-z,defs -Wl,-O1 -Wl,--as-needed"DEB_CONFIGURE_EXTRA_FLAGS := --disable-scrollkeeperDEB_BUILDDIR_gcalctool := gnomeDEB_BUILDDIR_gcalctool-gtk := gtk#DEB_SRCDIR = $(CURDIR)$(patsubst %,configure/%,$(DEB_ARCH_PACKAGES)) :: configure/%:	mkdir $(DEB_BUILDDIR_$(*)) || echo "directory already exists"	$(MAKE) distclean || echo "no, I won't"	cd $(DEB_BUILDDIR_$(*)) && \		$(DEB_CONFIGURE_SCRIPT_ENV) \		#$(DEB_CONFIGURE_SCRIPT) \		../configure#		$(DEB_CONFIGURE_NORMAL_ARGS) \		--disable-maintainer-mode \		$(cdbs_configure_flags) \		$(DEB_CONFIGURE_EXTRA_FLAGS) \		$(DEB_CONFIGURE_USER_FLAGS) \		$(DEB_CONFIGURE_EXTRA_FLAGS_$*)	touch configure-stamp-$*$(patsubst %,build/%,$(DEB_ARCH_PACKAGES)) :: build/%:	$(MAKE) -C $(DEB_BUILDDIR_$(*))	touch build-stamp-$*$(patsubst %,install/%,$(DEB_ARCH_PACKAGES)) :: install/%:	make -C $(DEB_BUILDDIR_$(*)) install DESTDIR=$(CURDIR)/debian/$*	touch install-stamp-$*binary-install/gcalctool::	ln -s gcalctool.1.gz debian/gcalctool/usr/share/man/man1/gnome-calculator.1.gzbinary-install/gcalctool-gtk::	ln -s gcalctool.1.gz debian/gcalctool-gtk/usr/share/man/man1/gnome-calculator.1.gzbinary-post-install/gcalctool::	rm -rf debian/gcalctool/varbinary-post-install/gcalctool::	rm -rf debian/gcalctool-gtk/var