mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-03-17 06:20:27 +00:00
Remove old glinkchecker exclude, and use the default Python version. git-svn-id: https://linkchecker.svn.sourceforge.net/svnroot/linkchecker/trunk/linkchecker@3751 e7d03fd6-7b0d-0410-9947-9c21f3af8025
42 lines
1.4 KiB
Makefile
Executable file
42 lines
1.4 KiB
Makefile
Executable file
#!/usr/bin/make -f
|
|
|
|
DEB_PYTHON_SYSTEM=pycentral
|
|
DEB_DH_INSTALLCHANGELOGS_ARGS=ChangeLog.txt
|
|
|
|
common-install-arch::
|
|
$(MAKE) locale
|
|
|
|
include /usr/share/cdbs/1/rules/debhelper.mk
|
|
include /usr/share/cdbs/1/class/python-distutils.mk
|
|
|
|
PACKAGE=linkchecker
|
|
ROOT=$(CURDIR)/debian/$(PACKAGE)
|
|
DOCDIR=$(ROOT)/usr/share/doc/$(PACKAGE)
|
|
CGIDIR=$(ROOT)/usr/lib/cgi-bin/lconline
|
|
HTMLDIR=$(ROOT)/var/www/lconline
|
|
SHARE=$(ROOT)/usr/share/$(PACKAGE)
|
|
LOCALE=$(ROOT)/usr/share/locale
|
|
ETC=$(ROOT)/etc
|
|
|
|
common-configure-arch::
|
|
python setup.py sdist --manifest-only
|
|
|
|
common-install-arch::
|
|
# remove example files, we install them with dh_installexamples
|
|
rm -r $(ROOT)/usr/share/linkchecker/examples
|
|
# install system wide configuration files in etc
|
|
mv $(SHARE)/linkcheckerrc $(ETC)/$(PACKAGE)/
|
|
mv $(SHARE)/logging.conf $(ETC)/$(PACKAGE)/
|
|
# install CGI files
|
|
install -m 644 cgi-bin/lconline/*.html $(HTMLDIR)
|
|
install -m 644 cgi-bin/lconline/*.de $(HTMLDIR)
|
|
install -m 644 cgi-bin/lconline/*.en $(HTMLDIR)
|
|
install -m 644 cgi-bin/lconline/*.js $(HTMLDIR)
|
|
install -m 644 cgi-bin/lconline/*.css $(HTMLDIR)
|
|
install -m 755 cgi-bin/lc.cgi $(CGIDIR)
|
|
install -m 755 cgi-bin/lc.fcgi $(CGIDIR)
|
|
# install bash_completion script
|
|
install -m 644 config/linkchecker-completion $(ETC)/bash_completion.d
|
|
# install .mo files
|
|
install -m 644 build/share/locale/de/LC_MESSAGES/linkchecker.mo $(LOCALE)/de/LC_MESSAGES/
|
|
|