1
0
mirror of git://projects.qi-hardware.com/fped.git synced 2024-12-23 12:27:42 +02:00
fped/debian/rules
Xiangfu Liu b6807a7c0d add debian package stuff
add ITP bug number to 'debian/changelog'

Signed-off-by: Xiangfu Liu <xiangfu@sharism.cc>
2011-03-25 08:42:35 +08:00

28 lines
797 B
Makefile
Executable File

#!/usr/bin/make -f
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/autotools.mk
DEB_INSTALL_MANPAGES_dfu-util := doc/dfu-util.1
# We must first call ./autogen.sh to generate the autotools stuff.
post-patches:: debian/stamp-autothings-update
debian/stamp-autothings-update:
@#aclocal
@#autoheader
@#automake --foreign --add-missing --copy
@#autoconf
./autogen.sh
touch $@
# Do not install the dfu-util_static binary, it's not needed in Debian.
binary-post-install/dfu-util::
rm -f debian/dfu-util/usr/bin/dfu-util_static
clean::
rm -f debian/stamp-autothings-update
@# Delete generated files, we don't want them in the diff.
rm -f aclocal.m4 config.h.in configure Makefile.in m4/install-sh
rm -f m4/missing m4/depcomp src/Makefile.in src/dfu-version.h