debian swirl logo

Back to the packages list trac-ja-resource

#!/usr/bin/make -f
# -*- makefile -*-

DEB_INSTALL_CHANGELOGS_ALL = ChangeLog.trac-ja

include /usr/share/cdbs/1/rules/debhelper.mk

install/trac-ja-resource::
		cp -r trac $(DEB_DESTDIR)/usr/share/trac-ja-resource/
		find $(DEB_DESTDIR)/usr/share/trac-ja-resource/trac -type f -print0 | xargs -r0 chmod 644
		rm -rf $(DEB_DESTDIR)/usr/share/trac-ja-resource/trac/htdocs
		install -m 755 debian/trac.cgi $(DEB_DESTDIR)/usr/share/trac-ja-resource/cgi-bin/trac.cgi
		install -m 755 debian/trac.fcgi $(DEB_DESTDIR)/usr/share/trac-ja-resource/cgi-bin/trac.fcgi
		install -m 755 debian/trac.wsgi $(DEB_DESTDIR)/usr/share/trac-ja-resource/cgi-bin/trac.wsgi
		ln -sf /usr/share/pyshared/trac/htdocs $(DEB_DESTDIR)/usr/share/trac-ja-resource/trac/htdocs

binary-install/trac-ja-resource::
		dh_python2 -p$(cdbs_curpkg)

Builds:

trac-ja-resource
japanese resources for trac