Add myonlineportal.net as new provider.
[oddments/ddns.git] / Makefile.am
CommitLineData
3fdcb9d1
MT
1###############################################################################
2# #
dc11f1ea
MT
3# Pakfire - The IPFire package management system #
4# Copyright (C) 2013 Pakfire development team #
3fdcb9d1
MT
5# #
6# This program is free software: you can redistribute it and/or modify #
7# it under the terms of the GNU General Public License as published by #
8# the Free Software Foundation, either version 3 of the License, or #
9# (at your option) any later version. #
10# #
11# This program is distributed in the hope that it will be useful, #
12# but WITHOUT ANY WARRANTY; without even the implied warranty of #
13# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
14# GNU General Public License for more details. #
15# #
16# You should have received a copy of the GNU General Public License #
17# along with this program. If not, see <http://www.gnu.org/licenses/>. #
18# #
19###############################################################################
f22ab085 20
dc11f1ea
MT
21ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
22AM_MAKEFLAGS = --no-print-directory
23AUTOMAKE_OPTIONS = color-tests
f22ab085 24
dc11f1ea
MT
25# remove target it the command fails
26.DELETE_ON_ERROR:
f22ab085 27
dc11f1ea
MT
28# keep itermediate files
29.SECONDARY:
f22ab085 30
dc11f1ea 31SUBDIRS = . po
f22ab085 32
dc11f1ea 33pythondir = $(pyexecdir)
f22ab085 34
dc11f1ea 35configsdir = $(sysconfdir)/ddns
f22ab085 36
dc11f1ea
MT
37CLEANFILES =
38DISTCLEANFILES =
39EXTRA_DIST =
f22ab085 40
dc11f1ea 41@INTLTOOL_POLICY_RULE@
f22ab085 42
dc11f1ea
MT
43.PHONY: update-po
44update-po:
45 $(MAKE) -C po update-po
f22ab085 46
dc11f1ea 47# ------------------------------------------------------------------------------
f22ab085 48
dc11f1ea
MT
49dist_doc_DATA = \
50 COPYING
51
52# ------------------------------------------------------------------------------
53
0b5e00a2
MT
54bin_SCRIPTS = \
55 ddns
56
57EXTRA_DIST += \
58 ddns.in
59
60CLEANFILES += \
dc11f1ea
MT
61 ddns
62
63dist_configs_DATA = \
677765c0 64 ddns.conf.sample
dc11f1ea
MT
65
66ddns_PYTHON = \
67 src/ddns/__init__.py \
68 src/ddns/__version__.py \
69 src/ddns/errors.py \
70 src/ddns/i18n.py \
71 src/ddns/providers.py \
72 src/ddns/system.py
73
74ddnsdir = $(pythondir)/ddns
0b5e00a2
MT
75
76# ------------------------------------------------------------------------------
77
78substitutions = \
79 '|PACKAGE_NAME=$(PACKAGE_NAME)|' \
80 '|PACKAGE_VERSION=$(PACKAGE_VERSION)|' \
81 '|configsdir=$(configsdir)|'
82
83SED_PROCESS = \
84 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
85 $(SED) $(subst '|,-e 's|@,$(subst =,\@|,$(subst |',|g',$(substitutions)))) \
86 < $< > $@
87
88ddns: ddns.in Makefile
89 $(SED_PROCESS)