-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile.in
More file actions
36 lines (30 loc) · 852 Bytes
/
Copy pathMakefile.in
File metadata and controls
36 lines (30 loc) · 852 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#
# Copyright (C) 2003, 2004 Christophe Kalt
#
# This file is part of shush,
# see the LICENSE file for details on your rights.
#
# $Id: Makefile.in 1404 2008-03-08 23:25:46Z kalt $
#
INSTALL = @INSTALL@
prefix = @prefix@
exec_prefix = @exec_prefix@
bindir = @bindir@
mandir = @mandir@
shush:
@(cd src && $(MAKE) shush)
install: shush
$(INSTALL) -d -m 0755 $(bindir)
$(INSTALL) -m 755 src/shush $(bindir)
$(INSTALL) -d -m 0755 $(mandir)/man1
$(INSTALL) -m 644 shush.1 $(mandir)/man1
@echo ; echo "Done!"
clean:
@(cd src && $(MAKE) clean)
distclean:
@(cd src && $(MAKE) distclean)
/bin/rm -f Makefile config.cache config.log configure.lineno
/bin/rm -rf autom4te.cache
/bin/rm -f *.rpm
rpm: shush
fpm -f --description "A generic wrapper around cron jobs" -s dir -t rpm -n shush -v 1.2.3 ./src/shush=/usr/bin/ ./shush.1=/usr/share/man/