mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-03-19 23:40:29 +00:00
git-svn-id: https://linkchecker.svn.sourceforge.net/svnroot/linkchecker/trunk/linkchecker@3903 e7d03fd6-7b0d-0410-9947-9c21f3af8025
39 lines
1.3 KiB
Makefile
Executable file
39 lines
1.3 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
|
|
|
|
ROOT=$(CURDIR)/debian/linkchecker
|
|
DOCDIR=$(ROOT)/usr/share/doc/linkchecker
|
|
SHARE=$(ROOT)/usr/share/linkchecker
|
|
HTMLDIR=$(SHARE)/lconline
|
|
CGIDIR=$(ROOT)/usr/lib/cgi-bin
|
|
LOCALE=$(ROOT)/usr/share/locale
|
|
ETC=$(ROOT)/etc
|
|
|
|
common-configure-arch::
|
|
python setup.py sdist --manifest-only
|
|
|
|
common-install-arch::
|
|
# install system wide configuration files in etc
|
|
install -m 644 config/linkcheckerrc $(ETC)/linkchecker/
|
|
install -m 644 config/logging.conf $(ETC)/linkchecker/
|
|
# 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 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/
|
|
# apache configuration
|
|
install -m 644 debian/linkchecker.apache.conf $(ETC)/apache2/conf.d/linkchecker
|