Mercurial > noffle
annotate Makefile.am @ 245:d6e02253fb76 noffle
[svn] * Makefile.am,docs/Makefile.am,packages/redhat/noffle.spec,
packages/redhat/noffle-xinetd: Update RPM spec file for RH7.2. Fix up
'make install' to work properly with 'make install DESTDIR=nnnn' to
enable 'make install' use in spec file. Convert from inetd to xinetd.
author | bears |
---|---|
date | Fri, 15 Mar 2002 15:25:13 +0000 |
parents | 9fb4b7d7e64b |
children | 6443163104a8 |
rev | line source |
---|---|
43
2842f50feb55
[svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff
changeset
|
1 # Process this file with automake to produce Makefile.in |
2842f50feb55
[svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff
changeset
|
2 |
225
9fb4b7d7e64b
[svn] * docs/Makefile.in: Add testing.txt to documents.
bears
parents:
200
diff
changeset
|
3 SUBDIRS = src docs packages |
43
2842f50feb55
[svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff
changeset
|
4 |
2842f50feb55
[svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff
changeset
|
5 EXTRA_DIST = $(PACKAGE).conf.example |
2842f50feb55
[svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff
changeset
|
6 |
2842f50feb55
[svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff
changeset
|
7 install-data-local: |
245
d6e02253fb76
[svn] * Makefile.am,docs/Makefile.am,packages/redhat/noffle.spec,
bears
parents:
225
diff
changeset
|
8 $(INSTALL) -m 2755 -o news -g news -d $(DESTDIR)$(SPOOLDIR) |
d6e02253fb76
[svn] * Makefile.am,docs/Makefile.am,packages/redhat/noffle.spec,
bears
parents:
225
diff
changeset
|
9 $(INSTALL) -o news -g news -d $(DESTDIR)$(SPOOLDIR)/data |
d6e02253fb76
[svn] * Makefile.am,docs/Makefile.am,packages/redhat/noffle.spec,
bears
parents:
225
diff
changeset
|
10 $(INSTALL) -o news -g news -d $(DESTDIR)$(SPOOLDIR)/lock |
d6e02253fb76
[svn] * Makefile.am,docs/Makefile.am,packages/redhat/noffle.spec,
bears
parents:
225
diff
changeset
|
11 $(INSTALL) -o news -g news -d $(DESTDIR)$(SPOOLDIR)/requested |
d6e02253fb76
[svn] * Makefile.am,docs/Makefile.am,packages/redhat/noffle.spec,
bears
parents:
225
diff
changeset
|
12 $(INSTALL) -o news -g news -d $(DESTDIR)$(SPOOLDIR)/outgoing |
d6e02253fb76
[svn] * Makefile.am,docs/Makefile.am,packages/redhat/noffle.spec,
bears
parents:
225
diff
changeset
|
13 $(INSTALL) -o news -g news -d $(DESTDIR)$(SPOOLDIR)/overview |
d6e02253fb76
[svn] * Makefile.am,docs/Makefile.am,packages/redhat/noffle.spec,
bears
parents:
225
diff
changeset
|
14 chown -R news.news $(DESTDIR)$(SPOOLDIR) |
d6e02253fb76
[svn] * Makefile.am,docs/Makefile.am,packages/redhat/noffle.spec,
bears
parents:
225
diff
changeset
|
15 $(INSTALL) -m 755 -o 0 -g 0 -d $(DESTDIR)$(DOCDIR) |
d6e02253fb76
[svn] * Makefile.am,docs/Makefile.am,packages/redhat/noffle.spec,
bears
parents:
225
diff
changeset
|
16 $(INSTALL_DATA) -o 0 -g 0 $(srcdir)/AUTHORS $(DESTDIR)$(DOCDIR) |
d6e02253fb76
[svn] * Makefile.am,docs/Makefile.am,packages/redhat/noffle.spec,
bears
parents:
225
diff
changeset
|
17 $(INSTALL_DATA) -o 0 -g 0 $(srcdir)/COPYING $(DESTDIR)$(DOCDIR) |
d6e02253fb76
[svn] * Makefile.am,docs/Makefile.am,packages/redhat/noffle.spec,
bears
parents:
225
diff
changeset
|
18 $(INSTALL_DATA) -o 0 -g 0 $(srcdir)/ChangeLog $(DESTDIR)$(DOCDIR) |
d6e02253fb76
[svn] * Makefile.am,docs/Makefile.am,packages/redhat/noffle.spec,
bears
parents:
225
diff
changeset
|
19 $(INSTALL_DATA) -o 0 -g 0 $(srcdir)/INSTALL $(DESTDIR)$(DOCDIR) |
d6e02253fb76
[svn] * Makefile.am,docs/Makefile.am,packages/redhat/noffle.spec,
bears
parents:
225
diff
changeset
|
20 $(INSTALL_DATA) -o 0 -g 0 $(srcdir)/NEWS $(DESTDIR)$(DOCDIR) |
d6e02253fb76
[svn] * Makefile.am,docs/Makefile.am,packages/redhat/noffle.spec,
bears
parents:
225
diff
changeset
|
21 $(INSTALL_DATA) -o 0 -g 0 $(srcdir)/README $(DESTDIR)$(DOCDIR) |
d6e02253fb76
[svn] * Makefile.am,docs/Makefile.am,packages/redhat/noffle.spec,
bears
parents:
225
diff
changeset
|
22 $(INSTALL_DATA) -o 0 -g 0 $(srcdir)/TODO $(DESTDIR)$(DOCDIR) |
d6e02253fb76
[svn] * Makefile.am,docs/Makefile.am,packages/redhat/noffle.spec,
bears
parents:
225
diff
changeset
|
23 $(INSTALL_DATA) -D -o 0 -g 0 $(srcdir)/noffle.conf.example \ |
d6e02253fb76
[svn] * Makefile.am,docs/Makefile.am,packages/redhat/noffle.spec,
bears
parents:
225
diff
changeset
|
24 $(DESTDIR)$(CONFIGFILE).example |
d6e02253fb76
[svn] * Makefile.am,docs/Makefile.am,packages/redhat/noffle.spec,
bears
parents:
225
diff
changeset
|
25 chown news.news $(DESTDIR)$(CONFIGFILE).example |
d6e02253fb76
[svn] * Makefile.am,docs/Makefile.am,packages/redhat/noffle.spec,
bears
parents:
225
diff
changeset
|
26 chmod 600 $(DESTDIR)$(CONFIGFILE).example |
43
2842f50feb55
[svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff
changeset
|
27 @echo |
2842f50feb55
[svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff
changeset
|
28 @echo "****************************************************************" |
245
d6e02253fb76
[svn] * Makefile.am,docs/Makefile.am,packages/redhat/noffle.spec,
bears
parents:
225
diff
changeset
|
29 @echo "You should now copy $(DESTDIR)$(CONFIGFILE).example to $(CONFIGFILE)" |
43
2842f50feb55
[svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff
changeset
|
30 @echo "and edit that copy." |
2842f50feb55
[svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff
changeset
|
31 @echo "****************************************************************" |
2842f50feb55
[svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff
changeset
|
32 @echo |
2842f50feb55
[svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff
changeset
|
33 |
2842f50feb55
[svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff
changeset
|
34 install-exec-local: |
245
d6e02253fb76
[svn] * Makefile.am,docs/Makefile.am,packages/redhat/noffle.spec,
bears
parents:
225
diff
changeset
|
35 chown news.news $(DESTDIR)$(bindir)/`echo $(PACKAGE)|sed '$(transform)'` |
d6e02253fb76
[svn] * Makefile.am,docs/Makefile.am,packages/redhat/noffle.spec,
bears
parents:
225
diff
changeset
|
36 chmod 4755 $(DESTDIR)$(bindir)/`echo $(PACKAGE)|sed '$(transform)'` |
43
2842f50feb55
[svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff
changeset
|
37 |
2842f50feb55
[svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff
changeset
|
38 uninstall-local: |
245
d6e02253fb76
[svn] * Makefile.am,docs/Makefile.am,packages/redhat/noffle.spec,
bears
parents:
225
diff
changeset
|
39 rm -f $(DESTDIR)$(DOCDIR)/AUTHORS |
d6e02253fb76
[svn] * Makefile.am,docs/Makefile.am,packages/redhat/noffle.spec,
bears
parents:
225
diff
changeset
|
40 rm -f $(DESTDIR)$(DOCDIR)/COPYING |
d6e02253fb76
[svn] * Makefile.am,docs/Makefile.am,packages/redhat/noffle.spec,
bears
parents:
225
diff
changeset
|
41 rm -f $(DESTDIR)$(DOCDIR)/ChangeLog |
d6e02253fb76
[svn] * Makefile.am,docs/Makefile.am,packages/redhat/noffle.spec,
bears
parents:
225
diff
changeset
|
42 rm -f $(DESTDIR)$(DOCDIR)/INSTALL |
d6e02253fb76
[svn] * Makefile.am,docs/Makefile.am,packages/redhat/noffle.spec,
bears
parents:
225
diff
changeset
|
43 rm -f $(DESTDIR)$(DOCDIR)/NEWS |
d6e02253fb76
[svn] * Makefile.am,docs/Makefile.am,packages/redhat/noffle.spec,
bears
parents:
225
diff
changeset
|
44 rm -f $(DESTDIR)$(DOCDIR)/README |
d6e02253fb76
[svn] * Makefile.am,docs/Makefile.am,packages/redhat/noffle.spec,
bears
parents:
225
diff
changeset
|
45 rm -f $(DESTDIR)$(DOCDIR)/TODO |
d6e02253fb76
[svn] * Makefile.am,docs/Makefile.am,packages/redhat/noffle.spec,
bears
parents:
225
diff
changeset
|
46 rm -f $(DESTDIR)$(CONFIGFILE).example |
43
2842f50feb55
[svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff
changeset
|
47 @echo |
2842f50feb55
[svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff
changeset
|
48 @echo "****************************************************************" |
245
d6e02253fb76
[svn] * Makefile.am,docs/Makefile.am,packages/redhat/noffle.spec,
bears
parents:
225
diff
changeset
|
49 @echo "The NOFFLE spool directory $(DESTDIR)$(SPOOLDIR) and the configfile" |
d6e02253fb76
[svn] * Makefile.am,docs/Makefile.am,packages/redhat/noffle.spec,
bears
parents:
225
diff
changeset
|
50 @echo "$(DESTDIR)$(CONFIGFILE) have *not* been removed. Please do this" |
43
2842f50feb55
[svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff
changeset
|
51 @echo "manually." |
2842f50feb55
[svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff
changeset
|
52 @echo "****************************************************************" |
2842f50feb55
[svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff
changeset
|
53 @echo |
2842f50feb55
[svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff
changeset
|
54 |