mirror of
https://github.com/bstansell/conserver.git
synced 2024-12-22 06:07:49 +00:00
33 lines
734 B
Makefile
33 lines
734 B
Makefile
### Path settings
|
|
srcdir = @srcdir@
|
|
prefix = @prefix@
|
|
mandir = @mandir@
|
|
sysconfdir = @sysconfdir@
|
|
exampledir = $(prefix)/share/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
|