]> err.no Git - dpkg/commitdiff
Use '$(CPP)' instead of '$(CC) -E' in Makefile.am target
authorGuillem Jover <guillem@debian.org>
Wed, 2 Jul 2008 02:11:23 +0000 (05:11 +0300)
committerGuillem Jover <guillem@debian.org>
Wed, 2 Jul 2008 06:28:31 +0000 (09:28 +0300)
ChangeLog
dselect/Makefile.am

index 1098a094dff929fd49690abf8bc74e3cb265f3f7..e85f92c0eec5e5683ffb5a491b9fbc41187c11e1 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2008-07-02  Guillem Jover  <guillem@debian.org>
+
+       * dselect/Makefile.am (curkeys.h): Use '$(CPP)' instead of '$(CC) -E'.
+
 2008-07-01  Guillem Jover  <guillem@debian.org>
 
        * src/depcon.c (findbreakcyclerecursive): Use the debug function
index c0bb6bc7d449b1c06192ceccf589dc750657dbf0..87e9b3750858745ff906cfbd0a752bce01e8107d 100644 (file)
@@ -47,7 +47,7 @@ CLEANFILES = curkeys.h
 curkeys.$(OBJEXT): curkeys.h
 curkeys.h: $(srcdir)/keyoverride $(srcdir)/mkcurkeys.pl
        cursesfile=`echo '#include <ncursesw/curses.h>' | \
-               $(CC) -E - | grep 'curses.h' | head -n 1 | \
+               $(CPP) - | grep 'curses.h' | head -n 1 | \
                sed -e 's/^[^"]*"//; s/".*$$//'`; \
        if [ "$$cursesfile" = "" ]; then \
                echo "can't find curses file"; exit 1; \