Преглед на файлове

Use '$(CPP)' instead of '$(CC) -E' in Makefile.am target

Guillem Jover преди 18 години
родител
ревизия
a385f256b6
променени са 2 файла, в които са добавени 5 реда и са изтрити 1 реда
  1. 4 0
      ChangeLog
  2. 1 1
      dselect/Makefile.am

+ 4 - 0
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

+ 1 - 1
dselect/Makefile.am

@@ -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; \