]>
Commit | Line | Data |
---|---|---|
46aded9a MT |
1 | EXTRA_DIST = |
2 | CLEANFILES = | |
be748fa8 | 3 | INSTALL_DIRS = |
46aded9a MT |
4 | ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS} |
5 | AM_MAKEFLAGS = --no-print-directory | |
6 | ||
2bb7d64e | 7 | SUBDIRS = . po |
747cbcb1 MT |
8 | BINDINGS = |
9 | ||
afe51420 MT |
10 | OS = $(shell uname -s) |
11 | ||
747cbcb1 MT |
12 | if ENABLE_PERL |
13 | BINDINGS += perl | |
14 | endif | |
2bb7d64e | 15 | |
46aded9a MT |
16 | AM_CPPFLAGS = \ |
17 | -include $(top_builddir)/config.h \ | |
18 | -DSYSCONFDIR=\""$(sysconfdir)"\" \ | |
19 | -I${top_srcdir}/src | |
20 | ||
21 | AM_CFLAGS = ${my_CFLAGS} \ | |
46aded9a MT |
22 | -ffunction-sections \ |
23 | -fdata-sections | |
24 | ||
afe51420 MT |
25 | AM_LDFLAGS = |
26 | ||
27 | # leaving a space here to work around automake's conditionals | |
28 | ifeq ($(OS),Darwin) | |
29 | AM_LDFLAGS += -Wl,-dead_strip | |
30 | else | |
31 | AM_LDFLAGS += \ | |
32 | -Wl,--as-needed \ | |
33 | -Wl,--gc-sections | |
34 | endif | |
46aded9a | 35 | |
158c22d4 | 36 | LIBLOC_CURRENT=1 |
46aded9a MT |
37 | LIBLOC_REVISION=0 |
38 | LIBLOC_AGE=0 | |
39 | ||
be748fa8 MT |
40 | DISTCHECK_CONFIGURE_FLAGS = \ |
41 | --with-systemdsystemunitdir=$$dc_install_base/$(systemdsystemunitdir) | |
42 | ||
46aded9a MT |
43 | SED_PROCESS = \ |
44 | $(AM_V_GEN)$(MKDIR_P) $(dir $@) && $(SED) \ | |
45 | -e 's,@VERSION\@,$(VERSION),g' \ | |
46 | -e 's,@prefix\@,$(prefix),g' \ | |
47 | -e 's,@exec_prefix\@,$(exec_prefix),g' \ | |
be748fa8 | 48 | -e 's,@bindir\@,$(bindir),g' \ |
46aded9a MT |
49 | -e 's,@libdir\@,$(libdir),g' \ |
50 | -e 's,@includedir\@,$(includedir),g' \ | |
73d1b258 | 51 | -e 's,@databasedir\@,$(databasedir),g' \ |
46aded9a MT |
52 | < $< > $@ || rm $@ |
53 | ||
8703cdb4 | 54 | databasedir = $(localstatedir)/lib/location |
46aded9a MT |
55 | pkgconfigdir = $(libdir)/pkgconfig |
56 | ||
7c13a4e6 MT |
57 | # Overwrite Python path |
58 | pkgpythondir = $(pythondir)/location | |
59 | ||
73d1b258 | 60 | %: %.in Makefile |
46aded9a MT |
61 | $(SED_PROCESS) |
62 | ||
2bb7d64e MT |
63 | @INTLTOOL_POLICY_RULE@ |
64 | ||
161ac92d MT |
65 | # ------------------------------------------------------------------------------ |
66 | ||
67 | AM_V_ASCIIDOC = $(AM_V_ASCIIDOC_$(V)) | |
68 | AM_V_ASCIIDOC_ = $(AM_V_ASCIIDOC_$(AM_DEFAULT_VERBOSITY)) | |
69 | AM_V_ASCIIDOC_0 = @echo " ASCIIDOC" $@; | |
70 | ||
71 | AM_V_XSLT = $(AM_V_XSLT_$(V)) | |
72 | AM_V_XSLT_ = $(AM_V_XSLT_$(AM_DEFAULT_VERBOSITY)) | |
73 | AM_V_XSLT_0 = @echo " XSLT " $@; | |
74 | ||
75 | # ------------------------------------------------------------------------------ | |
76 | ||
2bb7d64e | 77 | .PHONY: update-po |
7b76dffa | 78 | update-po: po/POTFILES.in |
2bb7d64e MT |
79 | $(MAKE) -C po update-po |
80 | ||
7b76dffa | 81 | po/POTFILES.in: Makefile |
fc396bbb VJ |
82 | find $(abs_srcdir)/src -type f \( -name '*.in' -o -name '*.py' \) \ |
83 | \! -exec git check-ignore -q {} \; -print | \ | |
84 | sed -e "s@$(abs_srcdir)/@@g" | LC_ALL=C sort > $@ | |
7b76dffa | 85 | |
e51e1dec | 86 | EXTRA_DIST += \ |
726f9984 MT |
87 | examples/private-key.pem \ |
88 | examples/public-key.pem \ | |
e51e1dec MT |
89 | examples/python/create-database.py \ |
90 | examples/python/read-database.py | |
91 | ||
46aded9a | 92 | pkginclude_HEADERS = \ |
c182393f | 93 | src/loc/libloc.h \ |
9fc7f001 | 94 | src/loc/as.h \ |
84a2f0c2 | 95 | src/loc/as-list.h \ |
42f3ccd7 | 96 | src/loc/compat.h \ |
ec684c1a | 97 | src/loc/country.h \ |
e646a8f3 | 98 | src/loc/country-list.h \ |
9fc7f001 MT |
99 | src/loc/database.h \ |
100 | src/loc/format.h \ | |
101 | src/loc/network.h \ | |
e0b9ff5f | 102 | src/loc/network-list.h \ |
9fc7f001 MT |
103 | src/loc/private.h \ |
104 | src/loc/stringpool.h \ | |
f4fef543 | 105 | src/loc/resolv.h \ |
c182393f | 106 | src/loc/writer.h |
46aded9a MT |
107 | |
108 | lib_LTLIBRARIES = \ | |
109 | src/libloc.la | |
110 | ||
9fc7f001 | 111 | src_libloc_la_SOURCES = \ |
62b83e6d | 112 | src/libloc.c \ |
a5db3e49 | 113 | src/as.c \ |
84a2f0c2 | 114 | src/as-list.c \ |
ec684c1a | 115 | src/country.c \ |
e646a8f3 | 116 | src/country-list.c \ |
2601e83e | 117 | src/database.c \ |
3b5f4af2 | 118 | src/network.c \ |
e0b9ff5f | 119 | src/network-list.c \ |
f4fef543 | 120 | src/resolv.c \ |
62b83e6d | 121 | src/stringpool.c \ |
c182393f | 122 | src/writer.c |
46aded9a MT |
123 | |
124 | EXTRA_DIST += src/libloc.sym | |
125 | ||
18e2b14c MT |
126 | src_libloc_la_CFLAGS = \ |
127 | $(AM_CFLAGS) \ | |
1a3cb1b4 | 128 | -DLIBLOC_PRIVATE \ |
18e2b14c MT |
129 | -fvisibility=hidden |
130 | ||
46aded9a MT |
131 | src_libloc_la_LDFLAGS = \ |
132 | $(AM_LDFLAGS) \ | |
a76b0b96 MT |
133 | -version-info $(LIBLOC_CURRENT):$(LIBLOC_REVISION):$(LIBLOC_AGE) |
134 | ||
135 | if HAVE_LD_VERSION_SCRIPT | |
e81a6b04 | 136 | src_libloc_la_LDFLAGS += -Wl,--version-script=$(top_srcdir)/src/libloc.sym |
a76b0b96 | 137 | else |
e81a6b04 | 138 | src_libloc_la_LDFLAGS += -export-symbols $(top_srcdir)/src/libloc.sym |
a76b0b96 | 139 | endif |
46aded9a | 140 | |
f4fef543 | 141 | src_libloc_la_LIBADD = \ |
e568f8d4 | 142 | $(OPENSSL_LIBS) \ |
f4fef543 MT |
143 | $(RESOLV_LIBS) |
144 | ||
46aded9a MT |
145 | src_libloc_la_DEPENDENCIES = \ |
146 | ${top_srcdir}/src/libloc.sym | |
147 | ||
148 | pkgconfig_DATA = \ | |
149 | src/libloc.pc | |
150 | ||
151 | EXTRA_DIST += \ | |
152 | src/libloc.pc.in | |
153 | ||
154 | CLEANFILES += \ | |
155 | src/libloc.pc | |
156 | ||
7c13a4e6 | 157 | dist_pkgpython_PYTHON = \ |
29c6fa22 | 158 | src/python/database.py \ |
a6f1e346 | 159 | src/python/downloader.py \ |
88ef7e9c | 160 | src/python/export.py \ |
7dccb767 | 161 | src/python/i18n.py \ |
3192b66c | 162 | src/python/importer.py \ |
e44b30f4 | 163 | src/python/logger.py |
7c13a4e6 | 164 | |
7865c7d4 MT |
165 | pkgpython_PYTHON = \ |
166 | src/python/__init__.py | |
167 | ||
168 | EXTRA_DIST += \ | |
169 | src/python/__init__.py.in | |
170 | ||
171 | CLEANFILES += \ | |
172 | src/python/__init__.py | |
173 | ||
a2ab8ddf | 174 | pyexec_LTLIBRARIES = \ |
7c13a4e6 | 175 | src/python/_location.la |
18e2b14c | 176 | |
7c13a4e6 | 177 | src_python__location_la_SOURCES = \ |
9cdf6c53 | 178 | src/python/locationmodule.c \ |
62ffafdd | 179 | src/python/locationmodule.h \ |
fadebc89 MT |
180 | src/python/as.c \ |
181 | src/python/as.h \ | |
af208e26 MT |
182 | src/python/country.c \ |
183 | src/python/country.h \ | |
9cdf6c53 | 184 | src/python/database.c \ |
d688e569 | 185 | src/python/database.h \ |
39967361 MT |
186 | src/python/network.c \ |
187 | src/python/network.h \ | |
d688e569 MT |
188 | src/python/writer.c \ |
189 | src/python/writer.h | |
18e2b14c | 190 | |
7c13a4e6 | 191 | src_python__location_la_CFLAGS = \ |
18e2b14c MT |
192 | $(AM_CFLAGS) \ |
193 | $(PYTHON_CFLAGS) | |
194 | ||
7c13a4e6 | 195 | src_python__location_la_LDFLAGS = \ |
18e2b14c MT |
196 | $(AM_LDFLAGS) \ |
197 | -shared \ | |
198 | -module \ | |
199 | -avoid-version | |
200 | ||
7c13a4e6 | 201 | src_python__location_la_LIBADD = \ |
18e2b14c MT |
202 | src/libloc.la \ |
203 | $(PYTHON_LIBS) | |
204 | ||
747cbcb1 MT |
205 | # Compile & install bindings |
206 | all-local: $(foreach binding,$(BINDINGS),build-$(binding)) | |
207 | check-local: $(foreach binding,$(BINDINGS),check-$(binding)) | |
208 | install-exec-local: $(foreach binding,$(BINDINGS),install-$(binding)) | |
209 | clean-local: $(foreach binding,$(BINDINGS),clean-$(binding)) | |
210 | uninstall-local: $(foreach binding,$(BINDINGS),uninstall-$(binding)) | |
211 | ||
212 | # Perl Bindings | |
213 | EXTRA_DIST += \ | |
214 | src/perl/.gitignore \ | |
215 | src/perl/Location.xs \ | |
216 | src/perl/MANIFEST \ | |
217 | src/perl/Makefile.PL \ | |
218 | src/perl/lib/Location.pm \ | |
219 | src/perl/t/Location.t \ | |
220 | src/perl/typemap | |
221 | ||
222 | .PHONY: build-perl | |
223 | build-perl: | |
224 | @mkdir -p $(builddir)/src/perl/{lib,t} | |
225 | @test -e $(builddir)/src/perl/Location.xs || ln -s --relative $(srcdir)/src/perl/Location.xs $(builddir)/src/perl/ | |
226 | @test -e $(builddir)/src/perl/MANIFEST || ln -s --relative $(srcdir)/src/perl/MANIFEST $(builddir)/src/perl/ | |
227 | @test -e $(builddir)/src/perl/Makefile.PL || ln -s --relative $(srcdir)/src/perl/Makefile.PL $(builddir)/src/perl/ | |
228 | @test -e $(builddir)/src/perl/lib/Location.pm || ln -s --relative $(srcdir)/src/perl/lib/Location.pm $(builddir)/src/perl/lib/ | |
229 | @test -e $(builddir)/src/perl/t/Location.t || ln -s --relative $(srcdir)/src/perl/t/Location.t $(builddir)/src/perl/t/ | |
230 | @test -e $(builddir)/src/perl/typemap || ln -s --relative $(srcdir)/src/perl/typemap $(builddir)/src/perl/ | |
231 | ||
29c317e3 | 232 | cd $(builddir)/src/perl && $(PERL) Makefile.PL PREFIX="$(prefix)" \ |
747cbcb1 | 233 | INC="-I$(abs_srcdir)/src" LIBS="-L$(abs_builddir)/src/.libs -lloc" |
37a20a79 | 234 | cd $(builddir)/src/perl && $(MAKE) LD_RUN_PATH= |
747cbcb1 MT |
235 | |
236 | .PHONY: check-perl | |
f852b157 | 237 | check-perl: testdata.db |
2061ff77 SS |
238 | cd $(builddir)/src/perl && $(MAKE) LD_LIBRARY_PATH="$(abs_builddir)/src/.libs" test \ |
239 | database="../../$<" keyfile="$(abs_srcdir)/examples/public-key.pem" | |
747cbcb1 MT |
240 | |
241 | .PHONY: install-perl | |
242 | install-perl: | |
2d87a81c | 243 | cd $(builddir)/src/perl && $(MAKE) install DESTIDR=$(DESTDIR) |
747cbcb1 MT |
244 | |
245 | .PHONY: clean-perl | |
246 | clean-perl: | |
247 | cd $(builddir)/src/perl && $(MAKE) distclean | |
248 | ||
249 | .PHONY: uninstall-perl | |
250 | uninstall-perl: | |
251 | rm -rvf \ | |
252 | $(DESTDIR)/$(prefix)/lib/*/perl/*/Location.pm \ | |
253 | $(DESTDIR)/$(prefix)/lib/*/perl/*/auto/Location \ | |
254 | $(DESTDIR)/$(prefix)/lib/*/perl/*/perllocal.pod \ | |
255 | $(DESTDIR)/$(prefix)/man/man3/Location.3pm | |
256 | ||
5118a4b8 | 257 | bin_SCRIPTS = \ |
1d237439 | 258 | src/python/location \ |
1d237439 | 259 | src/python/location-importer |
5118a4b8 | 260 | |
73d1b258 | 261 | EXTRA_DIST += \ |
1d237439 | 262 | src/python/location.in \ |
1d237439 | 263 | src/python/location-importer.in |
73d1b258 MT |
264 | |
265 | CLEANFILES += \ | |
1d237439 | 266 | src/python/location \ |
1d237439 | 267 | src/python/location-importer |
6838b55a | 268 | |
be748fa8 MT |
269 | # ------------------------------------------------------------------------------ |
270 | ||
271 | if HAVE_SYSTEMD | |
272 | systemdsystemunit_DATA = \ | |
22d8fa6f MT |
273 | src/systemd/location-update.service \ |
274 | src/systemd/location-update.timer | |
be748fa8 MT |
275 | |
276 | CLEANFILES += \ | |
277 | $(systemdsystemunit_DATA) | |
278 | ||
279 | INSTALL_DIRS += \ | |
280 | $(systemdsystemunitdir) | |
281 | endif | |
282 | ||
283 | EXTRA_DIST += \ | |
22d8fa6f MT |
284 | src/systemd/location-update.service.in \ |
285 | src/systemd/location-update.timer.in | |
73d1b258 | 286 | |
161ac92d MT |
287 | # ------------------------------------------------------------------------------ |
288 | ||
a7d90ad4 MT |
289 | dist_database_DATA = \ |
290 | src/signing-key.pem | |
291 | ||
292 | # ------------------------------------------------------------------------------ | |
293 | ||
30ac38a1 MT |
294 | TESTS_CFLAGS = \ |
295 | $(AM_CFLAGS) \ | |
726f9984 MT |
296 | -DLIBLOC_PRIVATE \ |
297 | -DABS_SRCDIR=\"$(abs_srcdir)\" | |
30ac38a1 | 298 | |
46aded9a | 299 | TESTS = \ |
62b83e6d | 300 | src/test-libloc \ |
2601e83e | 301 | src/test-stringpool \ |
a5db3e49 | 302 | src/test-database \ |
3b5f4af2 | 303 | src/test-as \ |
ec684c1a | 304 | src/test-network \ |
70735dc3 MT |
305 | src/test-country \ |
306 | src/test-signature | |
46aded9a | 307 | |
f3bf970a | 308 | CLEANFILES += \ |
f852b157 | 309 | testdata.db |
f3bf970a | 310 | |
f852b157 | 311 | testdata.db: examples/python/create-database.py |
726f9984 MT |
312 | PYTHONPATH=$(abs_builddir)/src/python/.libs \ |
313 | ABS_SRCDIR="$(abs_srcdir)" \ | |
314 | $(PYTHON) $< $@ | |
1235c0b0 | 315 | |
46aded9a | 316 | check_PROGRAMS = \ |
62b83e6d | 317 | src/test-libloc \ |
2601e83e | 318 | src/test-stringpool \ |
a5db3e49 | 319 | src/test-database \ |
3b5f4af2 | 320 | src/test-as \ |
ec684c1a | 321 | src/test-network \ |
a17c353b | 322 | src/test-network-list \ |
e8fd8389 MT |
323 | src/test-country \ |
324 | src/test-signature | |
46aded9a MT |
325 | |
326 | src_test_libloc_SOURCES = \ | |
327 | src/test-libloc.c | |
328 | ||
30ac38a1 MT |
329 | src_test_libloc_CFLAGS = \ |
330 | $(TESTS_CFLAGS) | |
331 | ||
46aded9a MT |
332 | src_test_libloc_LDADD = \ |
333 | src/libloc.la | |
62b83e6d | 334 | |
a5db3e49 MT |
335 | src_test_as_SOURCES = \ |
336 | src/test-as.c | |
337 | ||
30ac38a1 MT |
338 | src_test_as_CFLAGS = \ |
339 | $(TESTS_CFLAGS) | |
340 | ||
a5db3e49 MT |
341 | src_test_as_LDADD = \ |
342 | src/libloc.la | |
343 | ||
ec684c1a MT |
344 | src_test_country_SOURCES = \ |
345 | src/test-country.c | |
346 | ||
347 | src_test_country_CFLAGS = \ | |
348 | $(TESTS_CFLAGS) | |
349 | ||
350 | src_test_country_LDADD = \ | |
351 | src/libloc.la | |
352 | ||
3b5f4af2 MT |
353 | src_test_network_SOURCES = \ |
354 | src/test-network.c | |
355 | ||
30ac38a1 MT |
356 | src_test_network_CFLAGS = \ |
357 | $(TESTS_CFLAGS) | |
358 | ||
3b5f4af2 MT |
359 | src_test_network_LDADD = \ |
360 | src/libloc.la | |
361 | ||
a17c353b MT |
362 | src_test_network_list_SOURCES = \ |
363 | src/test-network-list.c | |
364 | ||
365 | src_test_network_list_CFLAGS = \ | |
366 | $(TESTS_CFLAGS) | |
367 | ||
368 | src_test_network_list_LDADD = \ | |
369 | src/libloc.la | |
370 | ||
62b83e6d MT |
371 | src_test_stringpool_SOURCES = \ |
372 | src/test-stringpool.c | |
373 | ||
30ac38a1 MT |
374 | src_test_stringpool_CFLAGS = \ |
375 | $(TESTS_CFLAGS) | |
376 | ||
62b83e6d MT |
377 | src_test_stringpool_LDADD = \ |
378 | src/libloc.la | |
2601e83e MT |
379 | |
380 | src_test_database_SOURCES = \ | |
381 | src/test-database.c | |
382 | ||
30ac38a1 MT |
383 | src_test_database_CFLAGS = \ |
384 | $(TESTS_CFLAGS) | |
385 | ||
2601e83e MT |
386 | src_test_database_LDADD = \ |
387 | src/libloc.la | |
161ac92d | 388 | |
e8fd8389 MT |
389 | src_test_signature_SOURCES = \ |
390 | src/test-signature.c | |
391 | ||
392 | src_test_signature_CFLAGS = \ | |
393 | $(TESTS_CFLAGS) | |
394 | ||
395 | src_test_signature_LDADD = \ | |
396 | src/libloc.la | |
397 | ||
161ac92d MT |
398 | # ------------------------------------------------------------------------------ |
399 | ||
400 | MANPAGES = \ | |
1d237439 | 401 | man/location.8 |
161ac92d MT |
402 | |
403 | MANPAGES_TXT = $(patsubst %.8,%.txt,$(MANPAGES)) | |
404 | MANPAGES_HTML = $(patsubst %.txt,%.html,$(MANPAGES_TXT)) | |
405 | MANPAGES_XML = $(patsubst %.txt,%.xml,$(MANPAGES_TXT)) | |
406 | ||
407 | .PHONY: man | |
408 | man: $(MANPAGES) $(MANPAGES_HTML) | |
409 | ||
5b4bd18a | 410 | if ENABLE_MAN_PAGES |
161ac92d MT |
411 | man_MANS = \ |
412 | $(MANPAGES) | |
413 | endif | |
414 | ||
415 | CLEANFILES += \ | |
416 | $(MANPAGES) \ | |
417 | $(MANPAGES_HTML) \ | |
418 | $(MANPAGES_XML) | |
419 | ||
420 | EXTRA_DIST += \ | |
421 | man/asciidoc.conf \ | |
422 | $(MANPAGES_TXT) | |
423 | ||
424 | XSLTPROC_FLAGS = \ | |
425 | --nonet \ | |
426 | --stringparam man.output.quietly 1 \ | |
427 | --stringparam funcsynopsis.style ansi \ | |
428 | --stringparam man.th.extra1.suppress 1 \ | |
429 | --stringparam man.authors.section.enabled 1 \ | |
430 | --stringparam man.copyright.section.enabled 1 | |
431 | ||
432 | XSLTPROC_COMMAND_MAN = \ | |
433 | $(AM_V_XSLT)$(MKDIR_P) $(dir $@) && \ | |
434 | $(XSLTPROC) -o $@ $(XSLTPROC_FLAGS) \ | |
435 | http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $< | |
436 | ||
43c16e73 MT |
437 | # Let XSLT find its source on Mac OS X |
438 | ifeq ($(OS),Darwin) | |
439 | export XML_CATALOG_FILES = /usr/local/etc/xml/catalog | |
440 | endif | |
441 | ||
161ac92d MT |
442 | man/%.xml: man/%.txt man/asciidoc.conf |
443 | $(AM_V_ASCIIDOC)$(MKDIR_P) $(dir $@) && \ | |
444 | $(ASCIIDOC) \ | |
445 | -f $(abs_srcdir)/man/asciidoc.conf \ | |
446 | -d manpage -b docbook -o $@ $< | |
447 | ||
448 | man/%.8: man/%.xml | |
449 | $(XSLTPROC_COMMAND_MAN) | |
450 | ||
451 | man/%.html: man/%.txt man/asciidoc.conf | |
452 | $(AM_V_ASCIIDOC)$(MKDIR_P) $(dir $@) && \ | |
453 | $(ASCIIDOC) \ | |
454 | -f $(abs_srcdir)/man/asciidoc.conf \ | |
455 | -b html5 -a icons -a theme=flask -o $@ $< | |
456 | ||
457 | .PHONY: upload-man | |
458 | upload-man: $(MANPAGES_HTML) | |
459 | rsync -avHz --delete --progress $(MANPAGES_HTML) ms@fs01.haj.ipfire.org:/pub/man-pages/$(PACKAGE_NAME)/ | |
a8778efa | 460 | |
40507036 | 461 | EXTRA_DIST += \ |
40507036 MT |
462 | debian/build.sh \ |
463 | debian/changelog \ | |
464 | debian/compat \ | |
465 | debian/control \ | |
466 | debian/copyright \ | |
b22f90a0 MT |
467 | debian/location.install \ |
468 | debian/location.manpages \ | |
b22f90a0 | 469 | debian/location-python.install \ |
158c22d4 | 470 | debian/libloc1.install \ |
40507036 | 471 | debian/libloc-dev.install \ |
40507036 MT |
472 | debian/rules \ |
473 | debian/source/format | |
a8778efa MT |
474 | |
475 | .PHONY: debian | |
40507036 MT |
476 | debian: dist |
477 | $(SHELL) debian/build.sh $(PACKAGE_NAME)-$(PACKAGE_VERSION) $(distdir).tar.xz |