[hipl-commit] [trunk] Rev 4616: fixed modules header file to be removed on make clean

  • From: Rene Hummen <rene.hummen@xxxxxxxxxxxxxxxxx>
  • To: hipl-commit@xxxxxxxxxxxxx
  • Date: Fri, 28 May 2010 18:54:41 +0300

Committer: Rene Hummen <rene.hummen@xxxxxxxxxxxxxxxxx>
Date: 28/05/2010 at 18:54:41
Revision: 4616
Revision-id: rene.hummen@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Branch nick: trunk

Log:
  fixed modules header file to be removed on make clean
  
  The modules/*.h files are generated by the python script during
  configure and not be removed on normal clean, as this breaks a
  successive make. Hence, I moved it to the autotools-clean target.

Modified:
  M  Makefile.am

=== modified file 'Makefile.am'
--- Makefile.am 2010-05-28 11:49:35 +0000
+++ Makefile.am 2010-05-28 15:52:48 +0000
@@ -231,9 +231,10 @@
 autotools-clean: maintainer-clean
        rm -f aclocal.m4 compile config.* configure depcomp install-sh
        rm -f ltmain.sh m4/*.m4 Makefile.in missing py-compile
+       rm -f $(wildcard modules/*.h)
 
 HIPL_HEADER_OBJS     = $(subst 
$(srcdir),$(builddir),$(HIPL_HEADER_LIST:.h=.ho))
-CLEANFILES          += $(HIPL_HEADER_OBJS) $(wildcard modules/*.h)
+CLEANFILES          += $(HIPL_HEADER_OBJS)
 
 checkheaders: $(HIPL_HEADER_OBJS)
 vpath %.h $(srcdir)

Other related posts:

  • » [hipl-commit] [trunk] Rev 4616: fixed modules header file to be removed on make clean - Rene Hummen