OSSP CVS Repository

ossp - Ticket #156
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [Attach]  [Edit]  [History

Ticket 156: Also install documentation

Porting uuid/pgsql, i noticed the lack of installed documentation when building the package.

Here's a trivial patch that installs and also deinstalles in the same manner as done right now. I've just made it use PostgreSQLs $(docdir) variable so it should fit everywhere.

Regards, Simon

	--- pgsql/Makefile.orig	Mon Nov 20 20:26:27 2006
	+++ pgsql/Makefile	Fri Jun  8 16:38:50 2007
	@@ -42,10 +42,12 @@ install: all
	 	$(mkinstalldirs) $(DESTDIR)$(datadir)
	 	$(INSTALL_SHLIB) $(shlib) $(DESTDIR)$(pkglibdir)/uuid$(DLSUFFIX)
	 	$(INSTALL_DATA) uuid.sql $(DESTDIR)$(datadir)/uuid.sql
	+	$(INSTALL_DATA) uuid.txt $(DESTDIR)$(docdir)/uuid.txt

	 uninstall:
	 	-rm -f $(DESTDIR)$(pkglibdir)/uuid$(DLSUFFIX)
	 	-rm -f $(DESTDIR)$(datadir)/uuid.sql
	+	-rm -f $(DESTDIR)$(docdir)/uuid.txt

	 clean distclean: clean-lib
	 	rm -f $(OBJS)
[Add remarks]

Remarks:

Properties:

Type: code           Version: 1.60 
Status: new          Created: 2007-Jun-08 16:49
Severity:          Last Change: 2007-Jun-08 16:49
Priority:          Subsystem: uuid 
Assigned To: rse           Derived From:  
Creator: anonymous 

CVSTrac 2.0.1