]> git.alsa-project.org Git - alsa-lib.git/commitdiff
Added symlink for sys/asoundlib.h to alsa/asoundlib.h
authorJaroslav Kysela <perex@perex.cz>
Tue, 11 Sep 2001 11:27:52 +0000 (11:27 +0000)
committerJaroslav Kysela <perex@perex.cz>
Tue, 11 Sep 2001 11:27:52 +0000 (11:27 +0000)
include/Makefile.am

index 58bb7b25a0f73af086a57f887d0467e42ec713e4..ad2f62011dc4a000c60561643e923980ade7b2da 100644 (file)
@@ -1,6 +1,8 @@
 alsaincludedir = ${includedir}/alsa
 alsainclude_HEADERS = asoundlib.h
 
+sysincludedir = ${includedir}/sys
+
 # This is the order they will be concatenated into asoundlib.h!
 #
 header_files=header.h version.h global.h input.h output.h error.h \
@@ -42,4 +44,6 @@ INCLUDES=-I$(top_srcdir)/include
 
 install-exec-hook:
        rm -f $(alsaincludedir)/asoundef.h
-       (cd $(DESTDIR)$(alsaincludedir) && $(LN_S) ../sound/asoundef.h asoundef.h)
+       (cd $(DESTDIR)$(alsaincludedir) && $(LN_S) -f ../sound/asoundef.h asoundef.h)
+       # should be removed in future
+       (cd $(DESTDIR)$(sysincludedir) && $(LN_S) -f ../alsa/asoundlib.h asoundlib.h)