#! /bin/sh -e
## 16_backup_makefile.dpatch by Roland Rosenfeld <roland@debian.org>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: Backup/restore the upstream versions of Makefiles

dpatch_patch ()
{
    tar cf debian/patched/makefile.bak.tar \
	Makefile \
	fig2dev/Makefile \
	fig2dev/dev/Makefile \
	transfig/Makefile
}

dpatch_unpatch ()
{
    tar xf debian/patched/makefile.bak.tar
}

DPATCH_LIB_NO_DEFAULT=1

. /usr/share/dpatch/dpatch.lib.sh
