Jifty

 view release on metacpan or  search on metacpan

debian/rules  view on Meta::CPAN

	[ ! -f Makefile ] || $(MAKE) realclean
	( cd $(CURDIR)/plugins/EditInPlace; \
	[ ! -f Makefile ] || $(MAKE) realclean )
	( cd $(CURDIR)/plugins/WikiToolbar; \
	 ( [ ! -f Makefile ] || $(MAKE) realclean); \
	 ( [ ! -L inc ] || rm inc) )
	( cd $(CURDIR)/plugins/AuthzLDAP; \
	 ( [ ! -f Makefile ] || $(MAKE) realclean ); \
	 ( [ ! -L inc ] || rm inc ) )

install: install-stamp
install-stamp: build-stamp
	dh_testdir
	dh_testroot
	dh_clean -k 
	$(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
	# this old plugins will be in cpan on next release
	( cd $(CURDIR)/plugins/EditInPlace; \
	$(MAKE) install DESTDIR=$(TMP) PREFIX=/usr )
	( cd $(CURDIR)/plugins/WikiToolbar; \
	$(MAKE) install DESTDIR=$(TMP) PREFIX=/usr )
	( cd $(CURDIR)/plugins/AuthzLDAP; \
	$(MAKE) install DESTDIR=$(TMP) PREFIX=/usr )
	[ ! -d $(TMP)/usr/lib/perl5 ] || \
		rmdir --ignore-fail-on-non-empty --parents --verbose \
		$(TMP)/usr/lib/perl5
	touch $@

binary-arch:
# We have nothing to do here for an architecture-independent package

binary-indep: build install
	dh_testdir
	dh_testroot
	dh_installexamples doc/examples/* examples/*
	dh_install
	dh_install -plibjifty-perl -XManual/Tutorial \
		-Xjs/scriptaculous -Xjs/jquery-1.2.1.js \
		-Xjs/prototype.js -XMochiKit/MochiKit.js \
		-XEditInPlace \
		-XWikiToolbar \
		-XAuthzLDAP \
		-XFacebook \
		-XOpenID \
		-XGoogleMap \
		-XAuthentication/CAS -XAuthentication::CAS \
		-XAuthentication/Ldap -XAuthentication::Ldap \
		-XPlugin/Chart -XPlugin::Chart \
		-XPlugin/Comment -XPlugin::Comment \
		-XPlugin/Halo -XPlugin::Halo \
		-XPlugin/Userpic -XPlugin::Userpic\
		-XPlugin/SiteNews -XPlugin::SiteNews debian/tmp/*
	dh_installdocs
	dh_installchangelogs Changelog
	dh_installdirs -plibjifty-perl usr/share/lintian/overrides
	install -m 644 debian/libjifty-perl.lintian-overrides $(CURDIR)/debian/libjifty-perl/usr/share/lintian/overrides/libjifty-perl
	dh_perl
	dh_compress
	dh_fixperms
	# fix some mistake in right on web files
	chmod 644 $(CURDIR)/debian/libjifty-perl/usr/share/perl5/auto/Jifty/web/static/css/combobox.css
	chmod 644 $(CURDIR)/debian/libjifty-plugin-chart-perl/usr/share/perl5/auto/Jifty/plugins/Jifty/Plugin/Chart/web/static/js/PlotKit/excanvas.js
	chmod 644 $(CURDIR)/debian/libjifty-perl/usr/share/perl5/auto/Jifty/plugins/Jifty/Plugin/OnlineDocs/web/templates/__jifty/online_docs/autohandler
	chmod 644 $(CURDIR)/debian/libjifty-perl/usr/share/perl5/auto/Jifty/plugins/Jifty/Plugin/AdminUI/web/templates/__jifty/admin/_elements/nav
	dh_link
	dh_installdeb
	dh_gencontrol
	dh_md5sums
	dh_builddeb

binary: binary-indep binary-arch
.PHONY: build clean binary-indep binary-arch binary install



( run in 0.994 second using v1.01-cache-2.11-cpan-75ffa21a3d4 )