Просмотр исходного кода

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

Guillem Jover лет назад: 18
Родитель
Сommit
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; \