diff options
-rw-r--r-- | Makefile | 4 | ||||
-rw-r--r-- | pgfuse.1 | 5 | ||||
-rw-r--r-- | redhat/pgfuse.spec | 2 |
3 files changed, 11 insertions, 0 deletions
@@ -123,6 +123,10 @@ install: all cp pgfuse "$(bindir)" test -d "$(datadir)/man/man1" || mkdir -p "$(datadir)/man/man1" cp pgfuse.1 "$(datadir)/man/man1" + gzip "$(datadir)/man/man1/pgfuse.1" + test -d "$(datadir)/$(PACKAGE_NAME)-$(PACKAGE_VERSION)" || \ + mkdir -p "$(datadir)/$(PACKAGE_NAME)-$(PACKAGE_VERSION)" + cp schema.sql "$(datadir)/$(PACKAGE_NAME)-$(PACKAGE_VERSION)" dist: rm -rf /tmp/$(PACKAGE_NAME)-$(PACKAGE_VERSION) @@ -67,6 +67,11 @@ of \fBmount\fR and the README file of the \fBfuse\fR source package. .SH DESCRIPTION PgFuse is a FUSE filesystem which stores inodes and data into a PostgreSQL database. +.SH INSTALLATION +Before using PgFuse you must create a database user and a database +where to store the files to. Populate the initial schema with: +.TP +\fBpsql < /usr/share/pgfuse-xxxx/schema.sql\fR .SH BUGS .TP - no hard-links diff --git a/redhat/pgfuse.spec b/redhat/pgfuse.spec index 802da35..31c8af1 100644 --- a/redhat/pgfuse.spec +++ b/redhat/pgfuse.spec @@ -126,6 +126,8 @@ rm -rf $RPM_BUILD_ROOT %files %defattr( -, root, root ) %{_bindir}/pgfuse +%{_datadir}/man/man/pgfuse.1.gz +%{_datadir}/%{name}-%{version}/schema.sql %changelog * Fri Apr 20 2012 Andreas Baumann <abaumann@yahoo.com> 0.0.1-0.1 |