Commit 04a09f5cd793637285b2735210f319e537a0c73b
1 parent
c9d59970
Exists in
master
and in
1 other branch
Update for "deb" packaging.
Showing
1 changed file
with
17 additions
and
6 deletions
Show diff stats
Makefile.in
| ... | ... | @@ -286,9 +286,13 @@ $(BINRLS)/static/$(LIBNAME).a: \ |
| 286 | 286 | #---[ Install Targets ]------------------------------------------------------------------ |
| 287 | 287 | |
| 288 | 288 | install: \ |
| 289 | - $(BINRLS)/$(LIBNAME)@DLLEXT@ \ | |
| 290 | - $(BINRLS)/static/$(LIBNAME).a \ | |
| 291 | - install-glade | |
| 289 | + install-shared \ | |
| 290 | + install-static \ | |
| 291 | + install-glade \ | |
| 292 | + install-dev | |
| 293 | + | |
| 294 | +install-shared: \ | |
| 295 | + $(BINRLS)/$(LIBNAME)@DLLEXT@ | |
| 292 | 296 | |
| 293 | 297 | # Install library |
| 294 | 298 | @mkdir -p $(DESTDIR)$(libdir) |
| ... | ... | @@ -302,15 +306,22 @@ install: \ |
| 302 | 306 | $(LIBNAME)@DLLEXT@.@PACKAGE_MAJOR_VERSION@.@PACKAGE_MINOR_VERSION@ \ |
| 303 | 307 | $(DESTDIR)$(libdir)/$(LIBNAME)@DLLEXT@.@PACKAGE_MAJOR_VERSION@ |
| 304 | 308 | |
| 305 | - @$(LN_S) \ | |
| 306 | - $(LIBNAME)@DLLEXT@.@PACKAGE_MAJOR_VERSION@ \ | |
| 307 | - $(DESTDIR)$(libdir)/$(LIBNAME)@DLLEXT@ | |
| 309 | + | |
| 310 | +install-static: \ | |
| 311 | + $(BINRLS)/static/$(LIBNAME).a | |
| 308 | 312 | |
| 309 | 313 | # Install static library |
| 310 | 314 | @$(INSTALL_DATA) \ |
| 311 | 315 | $(BINRLS)/static/$(LIBNAME).a \ |
| 312 | 316 | $(DESTDIR)$(libdir) |
| 313 | 317 | |
| 318 | +install-dev: \ | |
| 319 | + install-shared | |
| 320 | + | |
| 321 | + @$(LN_S) \ | |
| 322 | + $(LIBNAME)@DLLEXT@.@PACKAGE_MAJOR_VERSION@ \ | |
| 323 | + $(DESTDIR)$(libdir)/$(LIBNAME)@DLLEXT@ | |
| 324 | + | |
| 314 | 325 | # Install SDK |
| 315 | 326 | |
| 316 | 327 | @mkdir -p $(DESTDIR)$(includedir)/v3270 | ... | ... |