/[xforms]/xforms/lib/include/Makefile.am
ViewVC logotype

Diff of /xforms/lib/include/Makefile.am

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by leeming, Thu Apr 24 12:48:20 2003 UTC revision 1.2 by leeming, Mon May 19 21:28:59 2003 UTC
# Line 1  Line 1 
1  include $(top_srcdir)/config/common.am  include $(top_srcdir)/config/common.am
2    
3  include_HEADERS = forms.h  include_HEADERS = forms.h
4  CLEANFILES = forms.h  CLEANFILES = forms.h AAA.h stamp-forms
5  BUILT_SOURCES = forms.h  BUILT_SOURCES = forms.h AAA.h
6    
7  noinst_HEADERS = \  noinst_HEADERS = \
         AAA.h \  
8          Basic.h \          Basic.h \
9          XBasic.h \          XBasic.h \
10          bitmap.h \          bitmap.h \
# Line 40  noinst_HEADERS = \ Line 39  noinst_HEADERS = \
39          xyplot.h \          xyplot.h \
40          zzz.h          zzz.h
41    
42  forms.h: $(noinst_HEADERS)  forms.h: stamp-forms
43          @rm -f $@          @:
44          @for i in $(noinst_HEADERS); do \  
45                  sed "1,/crop here for forms/d" ${srcdir}/$$i >> $@; \  stamp-forms: AAA.h $(noinst_HEADERS)
46            rm -f tmpforms
47            sed "1,/crop here for forms/d" AAA.h > tmpforms
48            for i in $(noinst_HEADERS); do \
49                    sed "1,/crop here for forms/d" ${srcdir}/$$i >> tmpforms; \
50          done          done
51            if cmp -s tmpforms forms.h ; then \
52                    rm -f tmpforms ;\
53            else \
54                    rm -f forms.h ;\
55                    mv tmpforms forms.h ;\
56            fi
57            echo timestamp > $@

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26