Commit 47b48f3a83b400eb5a0321e6fb8f0b1e42b9f5be
1 parent
9c2c23d3
Exists in
master
and in
5 other branches
- Reincluindo geração de man-page
- Reincluindo instalação de plugins
Showing
1 changed file
with
18 additions
and
1 deletions
Show diff stats
Makefile.in
| ... | ... | @@ -63,6 +63,7 @@ MSGCAT=@MSGCAT@ |
| 63 | 63 | INSTALL=@INSTALL@ |
| 64 | 64 | INSTALL_DATA=@INSTALL_DATA@ |
| 65 | 65 | INSTALL_PROGRAM=@INSTALL_PROGRAM@ |
| 66 | +HELP2MAN=@HELP2MAN@ | |
| 66 | 67 | |
| 67 | 68 | #---[ Release Targets ]------------------------------------------------------------------ |
| 68 | 69 | |
| ... | ... | @@ -129,6 +130,11 @@ $(BINRLS)/plugins/%@DLLEXT@: \ |
| 129 | 130 | |
| 130 | 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 | 138 | #---[ Install Rules ]-------------------------------------------------------------------- |
| 133 | 139 | |
| 134 | 140 | install: \ |
| ... | ... | @@ -138,10 +144,21 @@ install: \ |
| 138 | 144 | install-branding \ |
| 139 | 145 | install-ui \ |
| 140 | 146 | install-charsets \ |
| 141 | - install-locale | |
| 147 | + install-locale \ | |
| 148 | + install-plugins | |
| 142 | 149 | |
| 143 | 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 | 162 | install-%: \ |
| 146 | 163 | modules/%/Makefile |
| 147 | 164 | ... | ... |