Changeset 837


Ignore:
Timestamp:
Nov 28, 2008, 8:12:47 PM (13 years ago)
Author:
Peter Johansson
Message:

removing annoying Automake warning that %-style pattern rules are a GNU make extension - also reintroducing PROGRAM_SED in configure.ac because sed is used in base/base2.

Location:
plugins/base1/se.lu.thep.wenni/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • plugins/base1/se.lu.thep.wenni/trunk/base/base2/Makefile.am

    r825 r837  
    3636
    3737install-exec-local: $(JAR)
    38   @install -d @bindir@
    39   install -p $(JAR) @bindir@
     38  @$(NORMAL_INSTALL)
     39  test -z "$(bindir)" || $(MKDIR_P) "$(bindir)"
     40  $(INSTALL) "$(JAR)" "$(bindir)"
    4041
    4142$(JAR): $(BUILDDIR) $(CLASS)
     
    4445    jar cf ../$(JAR) $(SUBDIR)/*.class)
    4546
    46 $(BUILDDIR)/%.java: %.java Makefile
    47   @sed "s/MAKESUBSTOFVERSIONNUMBER/$(VERSION)/" $< > $@
     47$(BUILDDIR)/$(JAVA): $(srcdir)/$(JAVA) Makefile
     48  @$(SED) "s/MAKESUBSTOFVERSIONNUMBER/$(VERSION)/" $< > $@
    4849
    49 %.class: $(BUILDDIR)/%.java
     50$(CLASS): $(BUILDDIR)/$(JAVA)
    5051  javac -cp $(JAVACFLAGS):$(TOPBUILDDIR)  $<
    5152
    5253$(BUILDDIR):
    53   @install -d $@
     54  @$(MKDIR_P) $@
    5455
  • plugins/base1/se.lu.thep.wenni/trunk/configure.ac

    r836 r837  
    4848AC_PROG_LIBTOOL
    4949AC_PROG_RANLIB
     50AC_PROG_SED
    5051
    5152CXXFLAGS="-Wall -pedantic"
Note: See TracChangeset for help on using the changeset viewer.