]> git.alsa-project.org Git - alsa-lib.git/commitdiff
Fixed installation.
authorTakashi Iwai <tiwai@suse.de>
Wed, 12 Sep 2001 16:18:33 +0000 (16:18 +0000)
committerTakashi Iwai <tiwai@suse.de>
Wed, 12 Sep 2001 16:18:33 +0000 (16:18 +0000)
include/Makefile.am

index 20b6105ac6805059369d403acd1e8529090c33ff..3993e6f2fa7a6a55d8cc5c267a50d9ccdca4aa50 100644 (file)
@@ -42,8 +42,9 @@ stamp-vh: $(top_builddir)/configure.in
 
 INCLUDES=-I$(top_srcdir)/include
 
-install-exec-hook:
-       rm -f $(alsaincludedir)/asoundef.h
-       (cd $(DESTDIR)$(alsaincludedir) && $(LN_S) -f ../sound/asoundef.h asoundef.h)
+install-data-hook:
+       rm -f $(DESTDIR)$(alsaincludedir)/asoundef.h
+       $(LN_S) -f ../sound/asoundef.h $(DESTDIR)$(alsaincludedir)/asoundef.h
        # should be removed in future
+       test -d $(DESTDIR)$(sysincludedir) || mkdir -p $(DESTDIR)$(sysincludedir)
        $(INSTALL_DATA) sys.h $(DESTDIR)$(sysincludedir)/asoundlib.h