diff options
author | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2007-03-22 17:37:17 +0000 |
---|---|---|
committer | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2007-03-22 17:37:17 +0000 |
commit | 63f41055e2031631c01aee2539fa1a6027513078 (patch) | |
tree | a59eebe6e46be6441e7615952ed6b1135d022b22 /misc | |
parent | a1c7ea8e4497488e228e02333bd2d813a7b8a6b6 (diff) | |
download | xine-lib-63f41055e2031631c01aee2539fa1a6027513078.tar.gz xine-lib-63f41055e2031631c01aee2539fa1a6027513078.tar.bz2 |
Instead of rewriting the install and uninstall rules for headers, simply change their class to xineinclude, and set xineincludedir in Makefile.common.
CVS patchset: 8737
CVS date: 2007/03/22 17:37:17
Diffstat (limited to 'misc')
-rw-r--r-- | misc/Makefile.common | 17 |
1 files changed, 2 insertions, 15 deletions
diff --git a/misc/Makefile.common b/misc/Makefile.common index ad23067f6..b3772941f 100644 --- a/misc/Makefile.common +++ b/misc/Makefile.common @@ -1,5 +1,7 @@ XINE_LIB = $(top_builddir)/src/xine-engine/libxine.la +xineincludedir = $(includedir)/xine + xineplugdir = $(XINE_PLUGINDIR) xineplug_ldflags = $(NOUNDEF) -avoid-version -module @@ -39,21 +41,6 @@ install-debug: debug done; $(MAKE) $(AM_MAKEFLAGS) install-data-hook -install-includeHEADERS: $(include_HEADERS) - @$(NORMAL_INSTALL) - $(install_sh) -d $(DESTDIR)$(includedir)/xine - @list='$(include_HEADERS)'; for p in $$list; do \ - if test -f "$$p"; then d= ; else d="$(srcdir)/"; fi; \ - echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(includedir)/xine/$$p"; \ - $(INSTALL_DATA) $$d$$p $(DESTDIR)$(includedir)/xine/$$p; \ - done - -uninstall-includeHEADERS: - @$(NORMAL_UNINSTALL) - list='$(include_HEADERS)'; for p in $$list; do \ - rm -f $(DESTDIR)$(includedir)/xine/$$p; \ - done - uninstall-hook: @if echo '$(libdir)' | egrep ^'$(XINE_PLUGINDIR)' >/dev/null; then \ list='$(lib_LTLIBRARIES)'; for p in $$list; do \ |