summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Caujolle-Bert <f1rmb@users.sourceforge.net>2001-04-18 23:50:15 +0000
committerDaniel Caujolle-Bert <f1rmb@users.sourceforge.net>2001-04-18 23:50:15 +0000
commitc98683b4ff82d752be72afc393daea943108b729 (patch)
tree594c2a415bf6f5946f8db9d073a9b7981bfbbe0a
parent2d572d6871f36ab40db13f8bee2a4537d50907fc (diff)
downloadxine-lib-c98683b4ff82d752be72afc393daea943108b729.tar.gz
xine-lib-c98683b4ff82d752be72afc393daea943108b729.tar.bz2
install xine.h in $prefix/include.
CVS patchset: 5 CVS date: 2001/04/18 23:50:15
-rw-r--r--include/Makefile.am15
1 files changed, 12 insertions, 3 deletions
diff --git a/include/Makefile.am b/include/Makefile.am
index bdf7dcca3..9f16758c9 100644
--- a/include/Makefile.am
+++ b/include/Makefile.am
@@ -22,8 +22,13 @@ install-includeHEADERS: $(include_HEADERS)
$(mkinstalldirs) $(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; \
+ if test "$$p" != "xine.h"; then \
+ echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(includedir)/xine/$$p"; \
+ $(INSTALL_DATA) $$d$$p $(DESTDIR)$(includedir)/xine/$$p; \
+ else \
+ echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(includedir)/$$p"; \
+ $(INSTALL_DATA) $$d$$p $(DESTDIR)$(includedir)/$$p; \
+ fi; \
done
@@ -33,7 +38,11 @@ install-includeHEADERS: $(include_HEADERS)
uninstall-includeHEADERS:
@$(NORMAL_UNINSTALL)
list='$(include_HEADERS)'; for p in $$list; do \
- rm -f $(DESTDIR)$(includedir)/xine/$$p; \
+ if test "$$p" != "xine.h"; then \
+ rm -f $(DESTDIR)$(includedir)/xine/$$p; \
+ else \
+ rm -f $(DESTDIR)$(includedir)/$$p; \
+ fi; \
done