debian swirl logo

Back to the packages list libvc

#!/usr/bin/make -f
# -*- makefile -*-
# debian/rules for the libvc package
# GNU copyright 2007 by Rafael Laboissiere

include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/autotools.mk
include /usr/share/cdbs/1/rules/patchsys-quilt.mk

SAVEFILES = 		\
		INSTALL		\
		Makefile.in	\
		aclocal.m4	\
		configure	\
		install-sh	\
		ltmain.sh	\
		missing		\
		mkinstalldirs	\
		depcomp		\
		config.guess	\
		config.sub	\
		src/Makefile.in	\
		src/vc_scan.c	\
		doc/Makefile.in	\


makebuilddir/libvc0::
	# Save files modified by autoreconf
		for file in $(SAVEFILES) ; do				\
			test -e $$file-orig || cp $$file $$file-orig ;	\
		done
		autoreconf -vfi

clean::
	# Restore original file
		for file in $(SAVEFILES) ; do					\
			test ! -e $$file-orig || mv $$file-orig $$file ;	\
		done

Builds:

libvc0
vcard (the electronic business card) library
libvc-dev
vcard library - development files