/[gnats]/gnats/send-pr/Makefile.in
ViewVC logotype

Diff of /gnats/send-pr/Makefile.in

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.17 by chewie, Fri Jun 11 22:06:17 2004 UTC revision 1.18 by chewie, Tue Nov 2 23:10:04 2004 UTC
# Line 1  Line 1 
1    #!/usr/bin/make -f
2    # @configure_input@
3    #
4  # Makefile for GNU send-pr.  # Makefile for GNU send-pr.
5  # Copyright (C) 1993, 2001 Free Software Foundation, Inc.  # Copyright (C) 1993, 2001 Free Software Foundation, Inc.
6  #  #
# Line 20  Line 23 
23  # Start of system configuration section.  # Start of system configuration section.
24    
25  srcdir = @srcdir@  srcdir = @srcdir@
 sysconfdir = @sysconfdir@  
26  VPATH = @srcdir@  VPATH = @srcdir@
27    
 # The username for the gnats user.  
 GNATS_USER = @GNATS_USER@  
   
28  # The default release for this send-pr.  # The default release for this send-pr.
29  DEFAULT_RELEASE = @DEFAULT_RELEASE@  DEFAULT_RELEASE = @DEFAULT_RELEASE@
30    
# Line 35  DEFAULT_ORGANIZATION = @DEFAULT_ORGANIZA Line 34  DEFAULT_ORGANIZATION = @DEFAULT_ORGANIZA
34  # The submitter-id for your site.  # The submitter-id for your site.
35  SUBMITTER = @SUBMITTER@  SUBMITTER = @SUBMITTER@
36    
 # Command line to use for mailer  
 DEFAULT_MAIL_AGENT = @DEFAULT_MAIL_AGENT@  
   
37  # Command line to display the passwd database  # Command line to display the passwd database
38  PASSWD = @PASSWD@  PASSWD = @PASSWD@
39    
# Line 71  prefix = @prefix@ Line 67  prefix = @prefix@
67  exec_prefix = @exec_prefix@  exec_prefix = @exec_prefix@
68  bindir = @bindir@  bindir = @bindir@
69  libexecdir = @libexecdir@  libexecdir = @libexecdir@
70    sysconfdir = @sysconfdir@
71    
72  program_transform_name =  program_transform_name =
73    
# Line 90  includedir = @includedir@ Line 87  includedir = @includedir@
87    
88  # End of system configuration section.  # End of system configuration section.
89    
90  VERSION = 4.0  VERSION = @PACKAGE_VERSION@
91    
92  SHELL = /bin/sh  SHELL = /bin/sh
93    
# Line 98  SHELL = /bin/sh Line 95  SHELL = /bin/sh
95    
96  DISTFILES= COPYING ChangeLog Makefile.in README configure.in \  DISTFILES= COPYING ChangeLog Makefile.in README configure.in \
97  install-sid.sh send-pr-el.in send-pr.man send-pr.texi fields.texi \  install-sid.sh send-pr-el.in send-pr.man send-pr.texi fields.texi \
98  states.texi s-usage.texi categ.texi send-pr.sh  states.texi s-usage.texi categ.texi send-pr.sh send-pr.conf
99    
100  all: send-pr install-sid send-pr.1 version.texi  all: send-pr install-sid send-pr.1 version.texi
101  all-gnats: all  all-gnats: all
102  all-tools: all  all-tools: all
103    
 send-pr: send-pr.sh Makefile  
         sed -e 's,xVERSIONx,$(VERSION),' \  
             -e 's,xSUBMITTERx,$(SUBMITTER),' \  
             -e 's,xECHONx,$(ECHON),' \  
             -e 's,xMAIL_AGENTx,$(DEFAULT_MAIL_AGENT),' \  
             -e 's,xMKTEMPx,$(MKTEMP),' \  
             -e 's,xPASSWDx,$(PASSWD),' \  
             -e 's%xDEFAULT_ORGANIZATIONx%$(DEFAULT_ORGANIZATION)%' \  
             -e 's,xDEFAULT_RELEASEx,$(DEFAULT_RELEASE),' \  
             -e 's,xBINDIRx,$(bindir),g' \  
             -e 's,xLIBEXECDIRx,$(libexecdir),g' \  
             -e 's,xSYSCONFDIRx,$(sysconfdir),g' \  
             -e 's,xDATADIRx,$(datadir),' $(srcdir)/send-pr.sh > $@-t  
         mv $@-t $@  
         chmod 755 $@  
   
 install-sid: install-sid.sh Makefile  
         sed -e 's,xBINDIRx,$(bindir),g' \  
             -e 's,xVERSIONx,$(VERSION),g' $(srcdir)/install-sid.sh > $@-t  
         mv $@-t $@  
         chmod 755 $@  
   
104  install: $(SEND_PR_INSTALL)  install: $(SEND_PR_INSTALL)
105  install-arch-dep: $(SEND_PR_INSTALL_ARCH_DEP)  install-arch-dep: $(SEND_PR_INSTALL_ARCH_DEP)
106    
# Line 143  install-norm-arch-dep: Line 118  install-norm-arch-dep:
118          $(INSTALL_SCRIPT) send-pr $(DESTDIR)$(bindir)/send-pr          $(INSTALL_SCRIPT) send-pr $(DESTDIR)$(bindir)/send-pr
119          $(INSTALL_SCRIPT) install-sid $(DESTDIR)$(bindir)/install-sid          $(INSTALL_SCRIPT) install-sid $(DESTDIR)$(bindir)/install-sid
120          $(INSTALL_DATA) send-pr.1 $(DESTDIR)$(man1dir)/send-pr.1          $(INSTALL_DATA) send-pr.1 $(DESTDIR)$(man1dir)/send-pr.1
121            $(INSTALL_DATA) send-pr.conf $(DESTDIR)$(sysconfdir)/gnats/
122    
123  uninstall:  uninstall:
124          -rm -f $(DESTDIR)$(bindir)/send-pr $(DESTDIR)$(bindir)/install-sid          -rm -f $(DESTDIR)$(bindir)/send-pr $(DESTDIR)$(bindir)/install-sid
125            -rm -f $(DESTDIR)$(sysconfdir)/gnats/send-pr.conf
126          -rmdir $(DESTDIR)$(datadir)/gnats          -rmdir $(DESTDIR)$(datadir)/gnats
127          -rm -f $(DESTDIR)$(man1dir)/send-pr.1          -rm -f $(DESTDIR)$(man1dir)/send-pr.1
128    
# Line 160  version.texi: Makefile Line 137  version.texi: Makefile
137    
138  send-pr.1: Makefile  send-pr.1: Makefile
139          sed -e 's,xVERSIONx,$(VERSION),g' \          sed -e 's,xVERSIONx,$(VERSION),g' \
140          -e 's,xPREFIXx,$(prefix),g' $(srcdir)/send-pr.man > $@-t          -e 's,xSYSCONFDIRx,$(sysconfdir),g' $(srcdir)/send-pr.man > $@-t
141          mv $@-t $@          mv $@-t $@
142    
143  # When building GNATS, this target is used to communicate information  # When building GNATS, this target is used to communicate information
# Line 168  send-pr.1: Makefile Line 145  send-pr.1: Makefile
145  gnats-build: stamp-gnats  gnats-build: stamp-gnats
146    
147  stamp-gnats: Makefile  stamp-gnats: Makefile
148          sed -e 's,^GNATS_USER =.*,GNATS_USER = $(GNATS_USER),' \  #       sed -e 's,^GNATS_USER =.*,GNATS_USER = $(GNATS_USER),' \
149              -e 's,^DEFAULT_RELEASE =.*,DEFAULT_RELEASE = $(DEFAULT_RELEASE),' \  #           -e 's,^DEFAULT_RELEASE =.*,DEFAULT_RELEASE = $(DEFAULT_RELEASE),' \
150              -e 's%^DEFAULT_ORGANIZATION =.*%DEFAULT_ORGANIZATION = $(DEFAULT_ORGANIZATION)%' \  #           -e 's%^DEFAULT_ORGANIZATION =.*%DEFAULT_ORGANIZATION = $(DEFAULT_ORGANIZATION)%' \
151              -e 's,^SUBMITTER =.*,SUBMITTER = $(SUBMITTER),' \  #           -e 's,^SUBMITTER =.*,SUBMITTER = $(SUBMITTER),' \
152              -e 's,^VERSION =.*,VERSION = $(VERSION),' \  #           -e 's,^VERSION =.*,VERSION = $(VERSION),' \
153              -e 's,^MAIL_AGENT =.*,MAIL_AGENT = $(MAIL_AGENT),' \  #           -e 's,^MAIL_AGENT =.*,MAIL_AGENT = $(MAIL_AGENT),' \
154              -e 's,^SEND_PR_INSTALL =.*,SEND_PR_INSTALL = $(GNATS_INSTALL),' \  #           -e 's,^SEND_PR_INSTALL =.*,SEND_PR_INSTALL = $(GNATS_INSTALL),' \
155                  Makefile > Makefile.tmp \  #               Makefile > Makefile.tmp \
156          && mv Makefile.tmp Makefile \  #       && mv Makefile.tmp Makefile \
157          && touch stamp-gnats          : > $@
158    
159  # Clean things up.  # Clean things up.
160    

Legend:
Removed from v.1.17  
changed lines
  Added in v.1.18

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26