Browse Source

autotools: Use -local variants of all, clean and distclean to support using automake targets.

master
Reece H. Dunn 11 years ago
parent
commit
65d0d41700
1 changed files with 11 additions and 3 deletions
  1. 11
    3
      Makefile.am

+ 11
- 3
Makefile.am View File



##### standard build actions: ##### standard build actions:


all: src/speak src/libespeak.so src/libespeak.a src/espeak src/espeakedit espeak-data/phontab dictionaries docs/speak_lib.h
all-local: \
src/speak \
src/libespeak.so \
src/libespeak.a \
src/espeak \
src/espeakedit \
espeak-data/phontab \
docs/speak_lib.h \
dictionaries


install-data-hook: install-data-hook:
rm -rf $(DESTDIR)$(DATADIR) rm -rf $(DESTDIR)$(DATADIR)
$(LN_SF) libespeak.so.$(LIB_VERSION) $(DESTDIR)$(LIBDIR)/libespeak.so $(LN_SF) libespeak.so.$(LIB_VERSION) $(DESTDIR)$(LIBDIR)/libespeak.so
$(INSTALL) -pm 644 src/speak_lib.h $(DESTDIR)$(INCDIR) $(INSTALL) -pm 644 src/speak_lib.h $(DESTDIR)$(INCDIR)


clean:
clean-local:
cd src && rm -f *.o *~ && cd .. cd src && rm -f *.o *~ && cd ..


distclean: clean
distclean-local:
rm -f src/speak rm -f src/speak
rm -f src/espeak rm -f src/espeak
rm -f src/espeakedit rm -f src/espeakedit

Loading…
Cancel
Save