mirror of
https://github.com/alsa-project/alsa-utils
synced 2024-09-19 17:49:59 +02:00
Next updates for automake..
This commit is contained in:
parent
4d8b1ba700
commit
21d2b566f4
4 changed files with 9 additions and 3 deletions
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
%define ver @SND_UTIL_VERSION@
|
%define ver @VERSION@
|
||||||
%define rel 1
|
%define rel 1
|
||||||
%define prefix /
|
%define prefix /
|
||||||
|
|
||||||
|
|
|
@ -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"
|
||||||
|
|
Loading…
Reference in a new issue