EXTRA_DIST += checkpath.pc.in
checkpath.pc: checkpath.pc.in Makefile
- $(top_srcdir)/config/confsubst $(srcdir)/checkpath.pc.in >$@.new \
+ $(AM_V_GEN)$(top_srcdir)/config/confsubst \
+ $(srcdir)/checkpath.pc.in >$@.new \
prefix=$(prefix) exec_prefix=$(exec_prefix) \
libdir=$(libdir) includedir=$(includedir) \
- VERSION=$(VERSION)
- mv $@.new $@
+ VERSION=$(VERSION) && mv $@.new $@
###--------------------------------------------------------------------------
### Other finishing touches.
EXTRA_DIST += debian/copyright
EXTRA_DIST += debian/control
EXTRA_DIST += debian/changelog
+EXTRA_DIST += debian/compat
## Library.
EXTRA_DIST += debian/libcheckpath1.install
#include <mLib/report.h>
#include "checkpath.h"
+#include "utils.h"
/*----- Main code ---------------------------------------------------------*/
AC_INIT([Checkpath], AUTO_VERSION, [mdw@distorted.org.uk])
AC_CONFIG_SRCDIR([checkpath.c])
AC_CONFIG_AUX_DIR([config])
+mdw_SILENT_RULES
AM_INIT_AUTOMAKE([foreign])
dnl--------------------------------------------------------------------------
libcheckpath1
tmpdir
chkpath
-compat
stamp-*
q
Source: checkpath
Section: admin
Priority: extra
-Build-Depends: mlib-dev, cdbs
+Build-Depends: mlib-dev (>= 2.0.4), debhelper (>= 8)
Maintainer: Mark Wooding <mdw@distorted.org.uk>
Standards-Version: 3.1.1
#! /usr/bin/make -f
-
-CDBS = /usr/share/cdbs/1
-include $(CDBS)/class/autotools.mk
-include $(CDBS)/rules/debhelper.mk
-
-###--------------------------------------------------------------------------
-### General settings.
-
-DEB_BUILDDIR = $(CURDIR)/build
-
-###----- That's all, folks --------------------------------------------------
+%:; dh $@ --builddirectory=debian/build
#include "config.h"
#include <ctype.h>
+#include <stdlib.h>
#include <sys/types.h>