equal
deleted
inserted
replaced
35 include $(WS_TOP)/make-rules/prep.mk |
35 include $(WS_TOP)/make-rules/prep.mk |
36 include $(WS_TOP)/make-rules/install.rb.mk |
36 include $(WS_TOP)/make-rules/install.rb.mk |
37 include $(WS_TOP)/make-rules/ips.mk |
37 include $(WS_TOP)/make-rules/ips.mk |
38 |
38 |
39 # puppet requires facter to build |
39 # puppet requires facter to build |
40 COMPONENT_INSTALL_ENV += RUBYLIB="$(COMPONENT_DIR)/../facter/build/prototype/$(MACH)$(VENDOR_RUBY)" |
40 COMPONENT_INSTALL_ENV += RUBYLIB="$(COMPONENT_DIR)/../ruby/facter/build/prototype/$(MACH)$(VENDOR_RUBY)" |
41 |
41 |
42 ../facter/build/%/.installed: |
42 ../ruby/facter/build/%/.installed: |
43 (cd ../facter ; $(GMAKE) install) |
43 (cd ../ruby/facter ; $(GMAKE) install) |
44 |
44 |
45 # set the bindir to /usr/sbin |
45 # set the bindir to /usr/sbin |
46 INSTALL_RB_BINDIR = $(USRSBINDIR) |
46 INSTALL_RB_BINDIR = $(USRSBINDIR) |
47 |
47 |
48 ASLR_MODE = $(ASLR_NOT_APPLICABLE) |
48 ASLR_MODE = $(ASLR_NOT_APPLICABLE) |
55 build: $(BUILD_64) |
55 build: $(BUILD_64) |
56 # Ruby extension for auditing |
56 # Ruby extension for auditing |
57 (cd ext; $(RUBY) extconf.rb; $(GMAKE)) |
57 (cd ext; $(RUBY) extconf.rb; $(GMAKE)) |
58 |
58 |
59 # make sure facter is installed first |
59 # make sure facter is installed first |
60 install: ../facter/build/$(MACH64)/.installed $(INSTALL_64) |
60 install: ../ruby/facter/build/$(MACH64)/.installed $(INSTALL_64) |
61 |
61 |
62 clean:: |
62 clean:: |
63 @if [ -f ext/Makefile ]; then \ |
63 @if [ -f ext/Makefile ]; then \ |
64 (cd ext; $(GMAKE) clean; $(RM) Makefile) \ |
64 (cd ext; $(GMAKE) clean; $(RM) Makefile) \ |
65 fi |
65 fi |