Commit 4301cdf1 authored by runge's avatar runge

autoconf: rpm -> rpmbuild and echo -n -> printf

parent b8b96689
2005-03-05 Karl Runge <runge@karlrunge.com>
* autoconf: rpm -> rpmbuild and echo -n -> printf
2005-03-04 Karl Runge <runge@karlrunge.com> 2005-03-04 Karl Runge <runge@karlrunge.com>
* libvncserver/{cargs.c,sockets.c}: add -listen option and * libvncserver/{cargs.c,sockets.c}: add -listen option and
rfbScreen member listenInterface. rfbScreen member listenInterface.
......
...@@ -17,7 +17,7 @@ $(PACKAGE)-$(VERSION).tar.gz: dist ...@@ -17,7 +17,7 @@ $(PACKAGE)-$(VERSION).tar.gz: dist
# Rule to build RPM distribution package # Rule to build RPM distribution package
rpm: $(PACKAGE)-$(VERSION).tar.gz $(PACKAGE).spec rpm: $(PACKAGE)-$(VERSION).tar.gz $(PACKAGE).spec
cp $(PACKAGE)-$(VERSION).tar.gz @RPMSOURCEDIR@ cp $(PACKAGE)-$(VERSION).tar.gz @RPMSOURCEDIR@
rpm -ba $(PACKAGE).spec rpmbuild -ba $(PACKAGE).spec
endif endif
all: make_config_executable all: make_config_executable
......
...@@ -248,7 +248,7 @@ AC_CHECK_HEADER(ApplicationServices/ApplicationServices.h, HAVE_OSX="true") ...@@ -248,7 +248,7 @@ AC_CHECK_HEADER(ApplicationServices/ApplicationServices.h, HAVE_OSX="true")
AM_CONDITIONAL(OSX, test "$HAVE_OSX" = "true") AM_CONDITIONAL(OSX, test "$HAVE_OSX" = "true")
# Check for rpm SOURCES path # Check for rpm SOURCES path
echo -n "checking for rpm sources path... " printf "checking for rpm sources path... "
RPMSOURCEDIR="NOT-FOUND" RPMSOURCEDIR="NOT-FOUND"
for directory in packages OpenLinux redhat RedHat rpm RPM "" ; do for directory in packages OpenLinux redhat RedHat rpm RPM "" ; do
if test -d /usr/src/${directory}/SOURCES; then if test -d /usr/src/${directory}/SOURCES; then
......
...@@ -36,7 +36,7 @@ $(PACKAGE)-$(VERSION).tar.gz: dist ...@@ -36,7 +36,7 @@ $(PACKAGE)-$(VERSION).tar.gz: dist
# Rule to build RPM distribution package # Rule to build RPM distribution package
rpm: $(PACKAGE)-$(VERSION).tar.gz libvncserver.spec rpm: $(PACKAGE)-$(VERSION).tar.gz libvncserver.spec
cp $(PACKAGE)-$(VERSION).tar.gz @RPMSOURCEDIR@ cp $(PACKAGE)-$(VERSION).tar.gz @RPMSOURCEDIR@
rpm -ba libvncserver.spec rpmbuild -ba libvncserver.spec
endif endif
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment