Makefile.in
changeset 38 d6f9745b780b
parent 36 d86f1cebe419
child 39 2cf024600f9c
     1.1 --- a/Makefile.in	Tue Jan 18 03:45:51 2000 +0000
     1.2 +++ b/Makefile.in	Thu Jan 20 05:44:29 2000 +0000
     1.3 @@ -113,7 +113,7 @@
     1.4  playmus_LDADD = libSDL_mixer.la
     1.5  ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
     1.6  mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
     1.7 -CONFIG_CLEAN_FILES = 
     1.8 +CONFIG_CLEAN_FILES =  SDL_mixer.spec
     1.9  LTLIBRARIES =  $(lib_LTLIBRARIES)
    1.10  
    1.11  
    1.12 @@ -147,9 +147,9 @@
    1.13  LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
    1.14  HEADERS =  $(libSDL_mixerinclude_HEADERS)
    1.15  
    1.16 -DIST_COMMON =  README COPYING Makefile.am Makefile.in acinclude.m4 \
    1.17 -aclocal.m4 config.guess config.sub configure configure.in install-sh \
    1.18 -ltconfig ltmain.sh missing mkinstalldirs
    1.19 +DIST_COMMON =  README COPYING Makefile.am Makefile.in SDL_mixer.spec.in \
    1.20 +acinclude.m4 aclocal.m4 config.guess config.sub configure configure.in \
    1.21 +install-sh ltconfig ltmain.sh missing mkinstalldirs
    1.22  
    1.23  
    1.24  DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
    1.25 @@ -178,6 +178,8 @@
    1.26  	$(SHELL) ./config.status --recheck
    1.27  $(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
    1.28  	cd $(srcdir) && $(AUTOCONF)
    1.29 +SDL_mixer.spec: $(top_builddir)/config.status SDL_mixer.spec.in
    1.30 +	cd $(top_builddir) && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
    1.31  
    1.32  mostlyclean-libLTLIBRARIES:
    1.33  
    1.34 @@ -565,6 +567,14 @@
    1.35  mostlyclean distclean maintainer-clean
    1.36  
    1.37  
    1.38 +# Rule to build tar-gzipped distribution package
    1.39 +$(PACKAGE)-$(VERSION).tar.gz: dist
    1.40 +
    1.41 +# Rule to build RPM distribution package
    1.42 +rpm: $(PACKAGE)-$(VERSION).tar.gz
    1.43 +	cp $(PACKAGE)-$(VERSION).tar.gz /usr/src/redhat/SOURCES
    1.44 +	rpm -ba SDL_mixer.spec
    1.45 +
    1.46  # Tell versions [3.59,3.63) of GNU make to not export all variables.
    1.47  # Otherwise a system limit (for SysV at least) may be exceeded.
    1.48  .NOEXPORT: