Several fixes/additions for debian/rules.
authorBernd Zeimetz <bernd@bzed.de>
Sat, 23 Aug 2008 15:44:02 +0000 (17:44 +0200)
committerBernd Zeimetz <bernd@bzed.de>
Sat, 23 Aug 2008 15:44:02 +0000 (17:44 +0200)
debian/rules

index 5e74391..11d8681 100755 (executable)
@@ -61,9 +61,10 @@ clean-patched:
        find $(CURDIR) -name Makefile.in -print0 | xargs -0 rm -f
        find $(CURDIR)/intl -mindepth 1 -name VERSION -o -type f -print0 | xargs -0 rm -f
        find $(CURDIR)/po -mindepth 1 -name '*.po' -o -name Makefile.am -o -print0 | xargs -0 rm -f
+       find $(CURDIR)/navit/xpm -mindepth 1 -maxdepth 1 -name '*.xpm' -o -name 'osd_*.png' -o -type f -name '*.png' -print0 | xargs -0 rm -f
        rm -f ABOUT-NLS INSTALL aclocal.m4 compile config.guess \
              config.h.in config.rpath config.sub configure depcomp \
-             install-sh missing mkinstalldirs 
+             install-sh missing mkinstalldirs ltmain.sh
        rm -rf autom4te.cache m4
 
        dh_clean
@@ -76,7 +77,7 @@ install: build
        dh_installdirs
 
        # Add here commands to install the package into debian/tmp.
-       $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp
+       $(MAKE) install DESTDIR=$(CURDIR)/debian/navit
 
        dh_install