~peter-pearse/ubuntu/oneiric/at/prop001

« back to all changes in this revision

Viewing changes to Makefile.in

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2005-11-09 12:57:45 UTC
  • Revision ID: james.westby@ubuntu.com-20051109125745-64eslxy1v1jjm2gm
Tags: 3.1.9ubuntu1
* Merge to new Debian version.
* Derooting patch was accepted in Debian; manually reapply remaining Ubuntu
  changes to the clean Debian version (see below).
* debian/control: Only recommend mail-transport-agent and prefer postfix.
* debian/rc: LSB init script.

Show diffs side-by-side

added added

removed removed

Lines of Context:
40
40
LIBS            = @LIBS@
41
41
LIBOBJS         = @LIBOBJS@
42
42
INSTALL         = @INSTALL@
 
43
PAMLIB          = @PAMLIB@
43
44
 
44
45
CLONES          = atq atrm 
45
46
ATOBJECTS       = at.o panic.o perm.o y.tab.o lex.yy.o
55
56
 
56
57
MISC =  COPYING  Makefile.in configure acconfig.h install-sh \
57
58
        README atrun.in at.1.in atrun.8.in atd.8.in at_allow.5 \
58
 
        configure.in  config.h.in config.guess config.sub batch.in at.deny \
 
59
        configure.in  config.h.in config.guess config.sub batch.in at.deny \
59
60
        $(DOCS)
60
61
 
61
62
DIST = $(CSRCS) $(HEADERS) $(MISC) $(OTHERS)
72
73
        $(LN_S) -f at atrm
73
74
 
74
75
atd: $(RUNOBJECTS)
75
 
        $(CC) $(CFLAGS) -o atd $(RUNOBJECTS) $(LIBS)
 
76
        $(CC) $(CFLAGS) -o atd $(RUNOBJECTS) $(LIBS) $(PAMLIB)
76
77
 
77
78
y.tab.c y.tab.h: parsetime.y
78
79
        $(YACC) -d parsetime.y
92
93
        $(INSTALL) -g root -o root -m 755 -d $(IROOT)$(sbindir)
93
94
        $(INSTALL) -g root -o root -m 755 -d $(IROOT)$(docdir)
94
95
        $(INSTALL) -g root -o root -m 755 -d $(IROOT)$(atdocdir)
95
 
        $(INSTALL) -m 755 -d $(IROOT)$(ATJOB_DIR)
96
 
        $(INSTALL) -g $(DAEMON_GROUPNAME) -o $(DAEMON_USERNAME) -m 755 -d $(IROOT)$(ATSPOOL_DIR)
97
 
        chmod 700 $(IROOT)$(ATJOB_DIR) $(IROOT)$(ATSPOOL_DIR)
98
 
        chown $(DAEMON_USERNAME):$(DAEMON_GROUPNAME) $(IROOT)$(ATJOB_DIR) $(IROOT)$(ATSPOOL_DIR)
 
96
        $(INSTALL) -g $(DAEMON_GROUPNAME) -o $(DAEMON_USERNAME) -m 755 -d $(IROOT)$(ATSPOOL_DIR) $(IROOT)$(ATJOB_DIR)
 
97
        chmod 1770 $(IROOT)$(ATSPOOL_DIR) $(IROOT)$(ATJOB_DIR)
99
98
        touch $(IROOT)$(LFILE)
100
99
        chmod 600 $(IROOT)$(LFILE)
101
100
        chown $(DAEMON_USERNAME):$(DAEMON_GROUPNAME) $(IROOT)$(LFILE)
102
 
        test -f $(IROOT)$(etcdir)/at.allow || test -f $(IROOT)$(etcdir)/at.deny || $(INSTALL) -o root -m 600 at.deny $(IROOT)$(etcdir)/
103
 
        $(INSTALL) -g root -o root -m 4755 -s at $(IROOT)$(bindir)
 
101
        test -f $(IROOT)$(etcdir)/at.allow || test -f $(IROOT)$(etcdir)/at.deny || $(INSTALL) -o root -g $(DAEMON_GROUPNAME) -m 640 at.deny $(IROOT)$(etcdir)/
 
102
        $(INSTALL) -g $(DAEMON_GROUPNAME) -o $(DAEMON_USERNAME) -m 6755 -s at $(IROOT)$(bindir)
104
103
        $(LN_S) -f at $(IROOT)$(bindir)/atq
105
104
        $(LN_S) -f at $(IROOT)$(bindir)/atrm
106
105
        $(INSTALL) -g root -o root -m 755 batch $(IROOT)$(bindir)
133
132
 
134
133
clean:
135
134
        rm -f subs.sed *.o *.s at atd core a.out *~ $(CLONES) *.bak stamp-built
136
 
        rm -f parsetest
 
135
        rm -f parsetest parsetime.c lex.yy.c y.tab.c y.tab.h
137
136
 
138
137
distclean: clean 
139
 
        rm -rf at.1 atd.8 atrun.8 config.cache atrun config.h \
 
138
        rm -rf at.1 atd.8 atrun.8 config.cache atrun batch config.h \
140
139
                config.status Makefile debian/tmp config.log build
141
140
 
142
141
checkin: $(DIST)