sshfs-mapper: Install default config.
git-svn-id: https://websvn.glenux.net/svn/Upoc/sshfs-mapper/trunk@1394 eaee96b3-f302-0410-b096-c6cfd47f7835
This commit is contained in:
parent
ab9b4122e0
commit
a02dd3e1f7
1 changed files with 9 additions and 2 deletions
11
Makefile
11
Makefile
|
@ -1,4 +1,5 @@
|
||||||
|
|
||||||
|
CONFDIR=$(DESTDIR)/etc/sshfs-mapper
|
||||||
BINDIR=$(DESTDIR)/usr/bin
|
BINDIR=$(DESTDIR)/usr/bin
|
||||||
MANDIR=$(DESTDIR)/usr/share/man
|
MANDIR=$(DESTDIR)/usr/share/man
|
||||||
DOCDIR=$(DESTDIR)/usr/share/doc/sshfs-mapper
|
DOCDIR=$(DESTDIR)/usr/share/doc/sshfs-mapper
|
||||||
|
@ -13,9 +14,15 @@ clean:
|
||||||
install:
|
install:
|
||||||
mkdir -p $(BINDIR)
|
mkdir -p $(BINDIR)
|
||||||
mkdir -p $(MANDIR)/man1
|
mkdir -p $(MANDIR)/man1
|
||||||
mkdir -p $(DOCDIR)/examples
|
|
||||||
cp sshfs-mapper $(BINDIR)/
|
cp sshfs-mapper $(BINDIR)/
|
||||||
cat sshfs-mapper.1 | gzip > $(MANDIR)/man1/sshfs-mapper.1.gz
|
cat sshfs-mapper.1 | gzip > $(MANDIR)/man1/sshfs-mapper.1.gz
|
||||||
|
#
|
||||||
|
mkdir -p $(CONFDIR)
|
||||||
for f in `ls conf`; do \
|
for f in `ls conf`; do \
|
||||||
cat conf/$$f | gzip -f9 > $(DOCDIR)/examples/$$f.gz ; \
|
cp conf/$$f $(CONFDIR)/$ff ; \
|
||||||
|
done
|
||||||
|
#
|
||||||
|
mkdir -p $(DOCDIR)/examples
|
||||||
|
for f in `ls examples`; do \
|
||||||
|
cat examples/$$f | gzip -f9 > $(DOCDIR)/examples/$$f.gz ; \
|
||||||
done
|
done
|
||||||
|
|
Loading…
Reference in a new issue