mirror of
https://github.com/bstansell/conserver.git
synced 2024-12-29 17:18:53 +00:00
34 lines
749 B
Makefile
34 lines
749 B
Makefile
### Path settings
|
|
srcdir = @srcdir@
|
|
prefix = @prefix@
|
|
mandir = @mandir@
|
|
sysconfdir = @sysconfdir@
|
|
datadir = @datadir@
|
|
exampledir = $(datadir)/examples/conserver
|
|
|
|
### Installation programs and flags
|
|
INSTALL = @INSTALL@
|
|
MKDIR = @MKDIR@
|
|
@SET_MAKE@
|
|
|
|
|
|
### Makefile rules - no user-servicable parts below
|
|
|
|
all:
|
|
|
|
clean:
|
|
rm -f *~ *.o $(ALL) core
|
|
|
|
distclean: clean
|
|
rm -f Makefile
|
|
|
|
install:
|
|
$(MKDIR) $(DESTDIR)$(mandir)/man5
|
|
$(INSTALL) conserver.cf.man $(DESTDIR)$(mandir)/man5/conserver.cf.5
|
|
$(INSTALL) conserver.passwd.man $(DESTDIR)$(mandir)/man5/conserver.passwd.5
|
|
$(MKDIR) $(DESTDIR)$(exampledir)
|
|
$(INSTALL) -m 0644 conserver.cf $(DESTDIR)$(exampledir)
|
|
$(INSTALL) -m 0644 conserver.passwd $(DESTDIR)$(exampledir)
|
|
|
|
.PHONY: clean distclean install
|