Next updates for automake..

This commit is contained in:
Jaroslav Kysela 1999-01-31 13:15:00 +00:00
parent 4d8b1ba700
commit 21d2b566f4
4 changed files with 9 additions and 3 deletions

View file

@ -3,3 +3,9 @@ SUBDIRS=include alsactl alsamixer amixer aplay utils
rpm: dist rpm: dist
$(MAKE) -C $@ $(MAKE) -C $@
pack: clean-recursive
chown -R root.root ../alsa-utils
mv ../alsa-utils ../alsa-utils-$(VERSION)
tar --exclude=CVS -cvz -C .. -f ../alsa-utils-$(VERSION).tar.gz alsa-utils-$(VERSION)
mv ../alsa-utils-$(VERSION) ../alsa-utils

View file

@ -1,4 +1,4 @@
bin_PROGRAMS=alsactl sbin_PROGRAMS=alsactl
noinst_HEADERS=alsactl.h noinst_HEADERS=alsactl.h
man_MANS=alsactl.1 man_MANS=alsactl.1

View file

@ -1,4 +1,4 @@
%define ver @SND_UTIL_VERSION@ %define ver @VERSION@
%define rel 1 %define rel 1
%define prefix / %define prefix /

View file

@ -4,7 +4,7 @@ source=.
version=`cat $source/../version` version=`cat $source/../version`
package=$source/../../alsa-utils-$version.tar.gz package=$source/../../alsa-utils-$version.tar.gz
make -C .. dist make -C .. pack
if [ ! -r $package ]; then if [ ! -r $package ]; then
echo "Error: wrong package: $package" echo "Error: wrong package: $package"