Install dvbpsi/aac_profile.h in subdirectory dvbpsi/types

[email protected] (Jean-Paul Saman) Thu, 26 Mar 2015 12:03:57 +0100 (CET)
Newsgroups gmane.comp.video.videolan.libdvbpsi.devel
Message-ID <[email protected]>
libdvbpsi | branch: master | Jean-Paul Saman <[email protected]> | Thu Mar 26 10:58:45 2015 +0100| [da7fa637aff815b1955950b8442822f2d385fdf5] | committer: Jean-Paul Saman

Install dvbpsi/aac_profile.h in subdirectory dvbpsi/types

> http://git.videolan.org/gitweb.cgi/libdvbpsi.git/?a=commit;h=da7fa637aff815b1955950b8442822f2d385fdf5
---

 src/Makefile.am |    9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/src/Makefile.am b/src/Makefile.am
index 2974b3d..9b4f7b1 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -77,8 +77,8 @@ pkginclude_HEADERS = dvbpsi.h psi.h descriptor.h demux.h \
 		     descriptors/dr_8a.h \
 		     descriptors/dr_a0.h \
 		     descriptors/dr_a1.h \
-                     descriptors/types/aac_profile.h \
-                     descriptors/dr.h
+		     descriptors/types/aac_profile.h \
+		     descriptors/dr.h
 
 descriptors_src = descriptors/dr_02.c \
                   descriptors/dr_03.c \
@@ -154,3 +154,8 @@ tables_src = tables/pat.c tables/pat_private.h \
 	     tables/atsc_ett.c tables/atsc_ett.h \
 	     tables/atsc_mgt.c tables/atsc_mgt.h
 
+install-data-local:
+	mkdir -p $(DESTDIR)$(pkgincludedir)/types
+
+install-data-hook:
+	mv $(DESTDIR)$(pkgincludedir)/aac_profile.h $(DESTDIR)$(pkgincludedir)/types

_______________________________________________
libdvbpsi-devel mailing list
[email protected]
https://mailman.videolan.org/listinfo/libdvbpsi-devel