~ubuntu-branches/ubuntu/hoary/heartbeat/hoary

« back to all changes in this revision

Viewing changes to pkg/Makefile.am

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2005-02-24 10:12:16 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20050224101216-17p0xnfe5f1tn6bc
Tags: 1.2.3-3ubuntu1
debian/control: Removed raidtools2 build dependency, to help demotion of
raidtools2 to universe.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# $Id: Makefile.am,v 1.5.2.1 2004/04/29 03:12:02 alan Exp $
 
1
# $Id: Makefile.am,v 1.5.2.2 2004/09/11 15:33:32 alan Exp $
2
2
#
3
3
# Open-HA "pkg" Makefile for Solaris etc.
4
4
#
23
23
# 2. "pkgmk" from whatever is in $(TMPINSTDIR) into a pkg area $(PKGDIR)
24
24
 
25
25
MAINTAINERCLEANFILES    = Makefile.in
26
 
CLEANFILES      = $(INFOFILES)/pkginfo $(INFOFILES)/prototype stamp-tmpinst
27
 
EXTRA_DIST      = $(INFOFILES)/pkginfo.in
 
26
 
 
27
PKGINFO =       $(INFOFILES)/prototype          \
 
28
                $(INFOFILES)/pkginfo            \
 
29
                $(INFOFILES)/preinstall         \
 
30
                $(INFOFILES)/postinstall
 
31
 
 
32
EXTRA_DIST =    $(INFOFILES)/pkginfo.in         \
 
33
                $(INFOFILES)/preinstall.in      \
 
34
                $(INFOFILES)/postinstall.in
 
35
 
 
36
CLEANFILES = $(PKGINFO) stamp-tmpinst
28
37
 
29
38
PKGNAME         = OPENHA
30
39
 
40
49
pkg:    $(PKGDIR)/$(PKGNAME)/pkgmap
41
50
 
42
51
# Build the "pkg" from the pseudo-install
43
 
$(PKGDIR)/$(PKGNAME)/pkgmap:    $(INFOFILES)/prototype $(INFOFILES)/pkginfo
 
52
$(PKGDIR)/$(PKGNAME)/pkgmap:    $(PKGINFO)
44
53
        -rm -rf  $(PKGDIR)
45
54
        -mkdir  $(PKGDIR)
46
55
        cd $(INFOFILES) && pkgmk -d ../$(PKGDIR) -r ../$(TMPINSTDIR)
82
91
        echo "d none etc/rc0.d ? ? ?" >> $@
83
92
        echo "d none etc/rc1.d ? ? ?" >> $@
84
93
        echo "d none etc/rcS.d ? ? ?" >> $@
85
 
        echo "s none etc/rc2.d/S@HB_INITSTARTPRI@heartbeat=../init.d/heartbeat" >> $@
86
 
        echo "s none etc/rc0.d/K@HB_INITSTOPPRI@heartbeat=../init.d/heartbeat" >> $@
87
 
        echo "s none etc/rc1.d/K@HB_INITSTOPPRI@heartbeat=../init.d/heartbeat" >> $@
88
 
        echo "s none etc/rcS.d/K@HB_INITSTOPPRI@heartbeat=../init.d/heartbeat" >> $@
 
94
        echo "s none etc/rc2.d/S@HB_INITSTARTPRI@heartbeat=../init.d/heartbeat@INIT_EXT@" >> $@
 
95
        echo "s none etc/rc0.d/K@HB_INITSTOPPRI@heartbeat=../init.d/heartbeat@INIT_EXT@" >> $@
 
96
        echo "s none etc/rc1.d/K@HB_INITSTOPPRI@heartbeat=../init.d/heartbeat@INIT_EXT@" >> $@
 
97
        echo "s none etc/rcS.d/K@HB_INITSTOPPRI@heartbeat=../init.d/heartbeat@INIT_EXT@" >> $@
89
98
        echo "i pkginfo" >> $@
 
99
        echo "i preinstall" >> $@
 
100
        echo "i postinstall" >> $@
90
101
 
91
102
clean:
92
103
        rm -rf $(TMPINSTDIR) $(PKGDIR)