* [gentoo-commits] gentoo-x86 commit in dev-libs/tvmet/files: 1.7.2-docs_missing_destdir.patch
@ 2008-03-23 12:09 Tiziano Mueller (dev-zero)
0 siblings, 0 replies; 2+ messages in thread
From: Tiziano Mueller (dev-zero) @ 2008-03-23 12:09 UTC (permalink / raw
To: gentoo-commits
dev-zero 08/03/23 12:09:46
Added: 1.7.2-docs_missing_destdir.patch
Log:
Initial commit, ebuild written by me.
(Portage version: 2.1.4.4)
Revision Changes Path
1.1 dev-libs/tvmet/files/1.7.2-docs_missing_destdir.patch
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/tvmet/files/1.7.2-docs_missing_destdir.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/tvmet/files/1.7.2-docs_missing_destdir.patch?rev=1.1&content-type=text/plain
Index: 1.7.2-docs_missing_destdir.patch
===================================================================
--- doc/Makefile.am.orig 2008-03-17 14:42:52.000000000 +0100
+++ doc/Makefile.am 2008-03-17 14:44:14.000000000 +0100
@@ -186,20 +186,20 @@
# Automake's "distcheck" is sensitive to having files left over
# after "make uninstall", so we have to clean up the install hook.
uninstall-local:
- @if test -d $(TVMET_DOC_DIR); then \
- rm -rf $(TVMET_DOC_DIR); \
+ @if test -d $(DESTDIR)/$(TVMET_DOC_DIR)/html; then \
+ rm -rf $(DESTDIR)/$(TVMET_DOC_DIR)/html; \
fi
# Install hooks
make-install-dirs:
- @if test '!' -d $(TVMET_DOC_DIR); then \
- $(mkinstalldirs) $(TVMET_DOC_DIR); \
+ @if test '!' -d $(DESTDIR)/$(TVMET_DOC_DIR)/html; then \
+ $(mkinstalldirs) $(DESTDIR)/$(TVMET_DOC_DIR)/html; \
fi
install-data-hook: make-install-dirs
- @echo Installing documentations into $(TVMET_DOC_DIR)
+ @echo Installing documentations into $(DESTDIR)/$(TVMET_DOC_DIR)/html
@echo "install html"
- @$(INSTALL_DATA) @top_builddir@/doc/html/* $(TVMET_DOC_DIR)
+ @$(INSTALL_DATA) @top_builddir@/doc/html/* $(DESTDIR)/$(TVMET_DOC_DIR)/html
else
doc-dist:
--
gentoo-commits@lists.gentoo.org mailing list
^ permalink raw reply [flat|nested] 2+ messages in thread
* [gentoo-commits] gentoo-x86 commit in dev-libs/tvmet/files: 1.7.2-docs_missing_destdir.patch
@ 2008-06-07 15:11 Tiziano Mueller (dev-zero)
0 siblings, 0 replies; 2+ messages in thread
From: Tiziano Mueller (dev-zero) @ 2008-06-07 15:11 UTC (permalink / raw
To: gentoo-commits
dev-zero 08/06/07 15:11:50
Modified: 1.7.2-docs_missing_destdir.patch
Log:
Reworked the patch to operate on the Makefile.in instead the Makefile.am to avoid we need cppunit unconditionally (bug #223175). Added cppunit to DEPEND depending on the 'test' USE-flag.
(Portage version: 2.1.5.4)
Revision Changes Path
1.2 dev-libs/tvmet/files/1.7.2-docs_missing_destdir.patch
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/tvmet/files/1.7.2-docs_missing_destdir.patch?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/tvmet/files/1.7.2-docs_missing_destdir.patch?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/tvmet/files/1.7.2-docs_missing_destdir.patch?r1=1.1&r2=1.2
Index: 1.7.2-docs_missing_destdir.patch
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-libs/tvmet/files/1.7.2-docs_missing_destdir.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- 1.7.2-docs_missing_destdir.patch 23 Mar 2008 12:09:46 -0000 1.1
+++ 1.7.2-docs_missing_destdir.patch 7 Jun 2008 15:11:50 -0000 1.2
@@ -1,29 +1,29 @@
---- doc/Makefile.am.orig 2008-03-17 14:42:52.000000000 +0100
-+++ doc/Makefile.am 2008-03-17 14:44:14.000000000 +0100
-@@ -186,20 +186,20 @@
+--- tvmet-1.7.2.orig/doc/Makefile.in 2007-06-23 18:00:27.000000000 +0200
++++ tvmet-1.7.2/doc/Makefile.in 2008-06-07 16:47:29.000000000 +0200
+@@ -667,20 +680,20 @@
# Automake's "distcheck" is sensitive to having files left over
# after "make uninstall", so we have to clean up the install hook.
- uninstall-local:
-- @if test -d $(TVMET_DOC_DIR); then \
-- rm -rf $(TVMET_DOC_DIR); \
-+ @if test -d $(DESTDIR)/$(TVMET_DOC_DIR)/html; then \
-+ rm -rf $(DESTDIR)/$(TVMET_DOC_DIR)/html; \
- fi
+ @CONFIG_DOC_TRUE@uninstall-local:
+-@CONFIG_DOC_TRUE@ @if test -d $(TVMET_DOC_DIR); then \
+-@CONFIG_DOC_TRUE@ rm -rf $(TVMET_DOC_DIR); \
++@CONFIG_DOC_TRUE@ @if test -d $(DESTDIR)/$(TVMET_DOC_DIR)/html; then \
++@CONFIG_DOC_TRUE@ rm -rf $(DESTDIR)/$(TVMET_DOC_DIR)/html; \
+ @CONFIG_DOC_TRUE@ fi
# Install hooks
- make-install-dirs:
-- @if test '!' -d $(TVMET_DOC_DIR); then \
-- $(mkinstalldirs) $(TVMET_DOC_DIR); \
-+ @if test '!' -d $(DESTDIR)/$(TVMET_DOC_DIR)/html; then \
-+ $(mkinstalldirs) $(DESTDIR)/$(TVMET_DOC_DIR)/html; \
- fi
+ @CONFIG_DOC_TRUE@make-install-dirs:
+-@CONFIG_DOC_TRUE@ @if test '!' -d $(TVMET_DOC_DIR); then \
+-@CONFIG_DOC_TRUE@ $(mkinstalldirs) $(TVMET_DOC_DIR); \
++@CONFIG_DOC_TRUE@ @if test '!' -d $(DESTDIR)/$(TVMET_DOC_DIR)/html; then \
++@CONFIG_DOC_TRUE@ $(mkinstalldirs) $(DESTDIR)/$(TVMET_DOC_DIR)/html; \
+ @CONFIG_DOC_TRUE@ fi
- install-data-hook: make-install-dirs
-- @echo Installing documentations into $(TVMET_DOC_DIR)
-+ @echo Installing documentations into $(DESTDIR)/$(TVMET_DOC_DIR)/html
- @echo "install html"
-- @$(INSTALL_DATA) @top_builddir@/doc/html/* $(TVMET_DOC_DIR)
-+ @$(INSTALL_DATA) @top_builddir@/doc/html/* $(DESTDIR)/$(TVMET_DOC_DIR)/html
+ @CONFIG_DOC_TRUE@install-data-hook: make-install-dirs
+-@CONFIG_DOC_TRUE@ @echo Installing documentations into $(TVMET_DOC_DIR)
++@CONFIG_DOC_TRUE@ @echo Installing documentations into $(DESTDIR)/$(TVMET_DOC_DIR)/html
+ @CONFIG_DOC_TRUE@ @echo "install html"
+-@CONFIG_DOC_TRUE@ @$(INSTALL_DATA) @top_builddir@/doc/html/* $(TVMET_DOC_DIR)
++@CONFIG_DOC_TRUE@ @$(INSTALL_DATA) @top_builddir@/doc/html/* $(DESTDIR)/$(TVMET_DOC_DIR)/html
- else
- doc-dist:
+ @CONFIG_DOC_FALSE@doc-dist:
+ @CONFIG_DOC_FALSE@install-data-hook:
--
gentoo-commits@lists.gentoo.org mailing list
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-06-07 15:12 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-23 12:09 [gentoo-commits] gentoo-x86 commit in dev-libs/tvmet/files: 1.7.2-docs_missing_destdir.patch Tiziano Mueller (dev-zero)
-- strict thread matches above, loose matches on Subject: below --
2008-06-07 15:11 Tiziano Mueller (dev-zero)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox