diff options
author | Michael E Brown <michael_e_brown@dell.com> | 2007-10-08 14:42:22 -0500 |
---|---|---|
committer | Michael E Brown <michael_e_brown@dell.com> | 2007-10-08 14:42:22 -0500 |
commit | c9e1967345a46bb330914ce6d657f03abc3ce432 (patch) | |
tree | 11878727278765a645d85c604fb99beceec48662 /Makefile.in | |
parent | 7e87c6009f04cdd3685d9d5876ef57bb2c31f42d (diff) | |
download | mock-c9e1967345a46bb330914ce6d657f03abc3ce432.tar.gz mock-c9e1967345a46bb330914ce6d657f03abc3ce432.tar.xz mock-c9e1967345a46bb330914ce6d657f03abc3ce432.zip |
minor updates to autotool stuff.
Diffstat (limited to 'Makefile.in')
-rw-r--r-- | Makefile.in | 19 |
1 files changed, 12 insertions, 7 deletions
diff --git a/Makefile.in b/Makefile.in index 8782b6e..09127f0 100644 --- a/Makefile.in +++ b/Makefile.in @@ -40,10 +40,10 @@ EXTRA_PROGRAMS = subdir = . DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \ $(srcdir)/Makefile.in $(srcdir)/mock.spec.in \ - $(top_srcdir)/configure $(top_srcdir)/src/mock.py.in \ - $(top_srcdir)/src/version.h.in AUTHORS COPYING ChangeLog \ - INSTALL NEWS build/compile build/config.guess build/config.sub \ - build/depcomp build/install-sh build/ltmain.sh build/missing + $(top_srcdir)/configure $(top_srcdir)/src/version.h.in AUTHORS \ + COPYING ChangeLog INSTALL NEWS build/compile \ + build/config.guess build/config.sub build/depcomp \ + build/install-sh build/ltmain.sh build/missing ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ @@ -51,7 +51,7 @@ am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \ configure.lineno config.status.lineno mkinstalldirs = $(install_sh) -d -CONFIG_CLEAN_FILES = src/version.h src/mock.py mock.spec +CONFIG_CLEAN_FILES = src/version.h mock.spec am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; am__vpath_adj = case $$p in \ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ @@ -287,8 +287,6 @@ $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) src/version.h: $(top_builddir)/config.status $(top_srcdir)/src/version.h.in cd $(top_builddir) && $(SHELL) ./config.status $@ -src/mock.py: $(top_builddir)/config.status $(top_srcdir)/src/mock.py.in - cd $(top_builddir) && $(SHELL) ./config.status $@ mock.spec: $(top_builddir)/config.status $(srcdir)/mock.spec.in cd $(top_builddir) && $(SHELL) ./config.status $@ install-libLTLIBRARIES: $(lib_LTLIBRARIES) @@ -813,6 +811,13 @@ uninstall-am: uninstall-binPROGRAMS uninstall-libLTLIBRARIES $(bin_PROGRAMS): src/libselinux-mock.la $(EXTRA_PROGRAMS): src/libselinux-mock.la +src/mock.py: version + @echo Updating $@ + @cp -f $@ $@.new + @perl -p -i -e 's/^version=.*/version="$(RELEASE_VERSION)"/' $@.new + @diff -q $@ $@.new >/dev/null 2>&1 || mv -f $@.new $@ + @rm -f $@.new + rpm: dist BLD_DIR=$$(mktemp -d /tmp/rpmbuild-$$$$-XXXXXX); \ mkdir -p $$BLD_DIR/SOURCES $$BLD_DIR/BUILD $$BLD_DIR/RPMS $$BLD_DIR/RPMS/i386 $$BLD_DIR/RPMS/noarch $$BLD_DIR/SRPMS $$BLD_DIR/SPECS ;\ |