aboutsummaryrefslogtreecommitdiff
path: root/cvs/Makefile.am
blob: 708b8827c9a64ded8fda90428bcf41d3f5a18f7e (plain)
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
37
# This file is part of GSC
# Copyright (C) 2005, 2006, 2007 Sergey Poznyakoff
#
# GSC is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3, or (at your option)
# any later version.
#
# GSC is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with GSC.  If not, see <http://www.gnu.org/licenses/>.

AM_INSTALLCHECK_STD_OPTIONS_EXEMPT=sv_sync_www
bin_PROGRAMS=sv_sync_www
sv_sync_www_SOURCES=sv_sync_www.c
LDADD = ../lib/libgsc.a ../gnu/libgnu.a
INCLUDES = -I$(top_srcdir)/lib -I$(top_srcdir)/gnu -I../gnu
EXTRA_SCRIPTS=sv_post_office.pl sv_mailman_gray.pl
EXTRA_DIST=$(bin_SCRIPTS) 
bin_SCRIPTS=\
 mksnapshot\
 sv_logger\
 sv_sync_www_schedule\
 sv_www_loginfo

install-exec-hook:
	test -n "$(PERL)" && \
	  for file in $(subst .pl,,$(EXTRA_SCRIPTS)); \
	  do\
	     sed '1s,.*,#! $(PERL),' $$file.pl > $(DESTDIR)$(bindir)/$$file;\
	     chmod 0755 $(DESTDIR)$(bindir)/$$file;\
	  done;

Return to:

Send suggestions and report system problems to the System administrator.