File: Makefile.am

package info (click to toggle)
lcmaps-plugins-jobrep 1.5.7-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,980 kB
  • sloc: sh: 4,467; ansic: 2,206; makefile: 218; sql: 151
file content (62 lines) | stat: -rw-r--r-- 1,956 bytes parent folder | download | duplicates (5)
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
## $Id: Makefile.am,v 1.3 2005-10-07 12:03:24 okoeroo Exp $
## Define the targets to be built here

# Note: use datadir, not datarootdir: EL5 doesn't have it.
sqldir = $(datadir)/jobrepository/sql

dist_sql_DATA =  jobrep-create-basic.sql \
                 jobrep-drop-total-database.sql

sbin_SCRIPTS = jobrep-admin

# See Automake manual (9.1 Executable Scripts)
EXTRA_DIST   = jobrep-admin.sh.in
CLEANFILES = jobrep-admin

jobrep-admin: jobrep-admin.sh.in Makefile
	$(edit) $< >$@
	chmod +x $@


edit = sed \
         -e 's|@bindir[@]|$(bindir)|g' \
         -e 's|@pkgdatadir[@]|$(pkgdatadir)|g' \
         -e 's|@sqldir[@]|$(sqldir)|g' \
         -e 's|@prefix[@]|$(prefix)|g'

#	edg-jobrep-vo-to-unix \
#	edg-jobrep-status-update \
#	edg-jobrep-database-create \
#	edg-jobrep-database-drop-all \
#	edg-jobrep-database-recreate \
#	edg-jobrep-drop.sql \
#	edg-jobrep-database-create.1 \
#	edg-jobrep-database-drop-all.1 \
#	edg-jobrep-database-recreate.1


##man_MANS = edg-jobrep-status-update.1 edg-jobrep-vo-to-unix.1
###man_MANS = edg-jobrep-status-update.1 \
###	edg-jobrep-vo-to-unix.1 \
###	edg-jobrep-database-create.1 \
###	edg-jobrep-database-drop-all.1 \
###	edg-jobrep-database-recreate.1

### %.1: %
###	pod2man --section=1 $< > $<.1

#edg-jobrep-vo-to-unix.1: edg-jobrep-vo-to-unix
#	pod2man --section=1 edg-jobrep-vo-to-unix > edg-jobrep-vo-to-unix.1
#
#edg-jobrep-status-update.1: edg-jobrep-status-update
#	pod2man --section=1 edg-jobrep-status-update > edg-jobrep-status-update.1

##edg-jobrep-database-create.1: edg-jobrep-database-create
##	pod2man --section=1 edg-jobrep-database-create_txt > edg-jobrep-database-create.1

##edg-jobrep-database-drop-all.1: edg-jobrep-database-drop-all
##	pod2man --section=1 edg-jobrep-database-drop-all_txt > edg-jobrep-database-drop-all.1

##edg-jobrep-database-recreate.1: edg-jobrep-database-recreate
##	pod2man --section=1 edg-jobrep-database-recreate_txt > edg-jobrep-database-recreate.1