qasim/Makefile

18 lines
382 B
Makefile
Raw Normal View History

BINDIR=$(DESTDIR)/usr/bin
MANDIR=$(DESTDIR)/usr/share/man
DOCDIR=$(DESTDIR)/usr/share/doc/sshfs-mapper
all:
clean:
install:
mkdir -p $(BINDIR)
mkdir -p $(MANDIR)/man1
mkdir -p $(DOCDIR)/examples
cp sshfs-mapper $(BINDIR)/
cat sshfs-mapper.1 | gzip > $(MANDIR)/man1/sshfs-mapper.1.gz
for f in `ls conf`; do \
cat conf/$$f | gzip -f9 > $(DOCDIR)/examples/$$f.gz ; \
done