/[make]/make/maintMakefile
ViewVC logotype

Diff of /make/maintMakefile

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

revision 2.28 by psmith, Mon Mar 22 15:11:49 2004 UTC revision 2.29 by psmith, Tue Nov 30 20:58:55 2004 UTC
# Line 15  MTEMPLATES = Makefile.DOS SMakefile Line 15  MTEMPLATES = Makefile.DOS SMakefile
15    
16  all-am: $(TEMPLATES) $(MTEMPLATES) build.sh.in  all-am: $(TEMPLATES) $(MTEMPLATES) build.sh.in
17    
 # We need this to ensure that README and build.sh.in are created on time to  
 # avoid errors by automake.  
 #  
 #Makefile.in: README build.sh.in  
   
18  # General rule for turning a .template into a regular file.  # General rule for turning a .template into a regular file.
19  #  #
20  $(TEMPLATES) : % : %.template Makefile  $(TEMPLATES) : % : %.template Makefile
# Line 67  build.sh.in: build.template Makefile Line 62  build.sh.in: build.template Makefile
62  # Automake used to have a --generate-deps flag, but it's gone now, so we have  # Automake used to have a --generate-deps flag, but it's gone now, so we have
63  # to do it ourselves.  # to do it ourselves.
64  #  #
65    DEP_FILES := $(wildcard $(DEPDIR)/*.Po)
66  .dep_segment: Makefile.am maintMakefile $(DEP_FILES)  .dep_segment: Makefile.am maintMakefile $(DEP_FILES)
67          cat $(DEP_FILES) \          (for f in $(DEPDIR)/*.Po; do \
68            | sed -e '/^[^:]*\.[ch] *:/d' \             echo ""; \
69                  -e 's, /usr/[^ ]*,,g' \             echo "# $$f"; \
70                  -e 's, $(srcdir)/, ,g' \             cat $$f \
71                  -e '/^ \\$$/d' \               | sed -e '/^[^:]*\.[ch] *:/d' \
72            > $@                     -e 's, /usr/[^ ]*,,g' \
73                       -e 's, $(srcdir)/, ,g' \
74                       -e '/^ *\\$$/d' \
75                       -e '/^ *$$/d'; \
76             done) > $@
77    
78  # Get rid of everything "else".  # Get rid of everything "else".
79  #  #

Legend:
Removed from v.2.28  
changed lines
  Added in v.2.29

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