Commit 47b48f3a83b400eb5a0321e6fb8f0b1e42b9f5be

Authored by Perry Werneck
1 parent 9c2c23d3

- Reincluindo geração de man-page

- Reincluindo instalação de plugins
Showing 1 changed file with 18 additions and 1 deletions   Show diff stats
@@ -63,6 +63,7 @@ MSGCAT=@MSGCAT@ @@ -63,6 +63,7 @@ MSGCAT=@MSGCAT@
63 INSTALL=@INSTALL@ 63 INSTALL=@INSTALL@
64 INSTALL_DATA=@INSTALL_DATA@ 64 INSTALL_DATA=@INSTALL_DATA@
65 INSTALL_PROGRAM=@INSTALL_PROGRAM@ 65 INSTALL_PROGRAM=@INSTALL_PROGRAM@
  66 +HELP2MAN=@HELP2MAN@
66 67
67 #---[ Release Targets ]------------------------------------------------------------------ 68 #---[ Release Targets ]------------------------------------------------------------------
68 69
@@ -129,6 +130,11 @@ $(BINRLS)/plugins/%@DLLEXT@: \ @@ -129,6 +130,11 @@ $(BINRLS)/plugins/%@DLLEXT@: \
129 130
130 @$(MAKE) -C src/plugins/$(basename $(notdir $@)) $@ 131 @$(MAKE) -C src/plugins/$(basename $(notdir $@)) $@
131 132
  133 +$(DESTDIR)/$(libdir)/pw3270-plugins/%@DLLEXT@: \
  134 + src/plugins/%/*
  135 +
  136 + @$(MAKE) -C src/plugins/$(basename $(notdir $@)) install
  137 +
132 #---[ Install Rules ]-------------------------------------------------------------------- 138 #---[ Install Rules ]--------------------------------------------------------------------
133 139
134 install: \ 140 install: \
@@ -138,10 +144,21 @@ install: \ @@ -138,10 +144,21 @@ install: \
138 install-branding \ 144 install-branding \
139 install-ui \ 145 install-ui \
140 install-charsets \ 146 install-charsets \
141 - install-locale 147 + install-locale \
  148 + install-plugins
142 149
143 @$(INSTALL_DATA) conf/colors.conf $(DESTDIR)$(datarootdir)/$(PACKAGE_NAME) 150 @$(INSTALL_DATA) conf/colors.conf $(DESTDIR)$(datarootdir)/$(PACKAGE_NAME)
144 151
  152 +ifneq ($(HELP2MAN),no)
  153 + @$(MKDIR) $(DESTDIR)/$(mandir)/man1
  154 + @$(HELP2MAN) \
  155 + --version-string="$(PACKAGE_TARNAME) - $(PACKAGE_DESCRIPTION) Vrs. $(PACKAGE_VERSION)" \
  156 + $(DESTDIR)$(bindir)/$(PACKAGE_TARNAME)@EXEEXT@ | gzip --best --stdout - > $(DESTDIR)/$(mandir)/man1/$(PACKAGE_NAME).1.gz
  157 +endif
  158 +
  159 +install-plugins: \
  160 + $(foreach PLG, $(PLUGINS), $(DESTDIR)/$(libdir)/pw3270-plugins/$(PLG)@DLLEXT@)
  161 +
145 install-%: \ 162 install-%: \
146 modules/%/Makefile 163 modules/%/Makefile
147 164