Commit de0df35fefd5d29d65a0282a6866adee7d70f166

Authored by Perry Werneck
1 parent 8b6619d7
Exists in master and in 1 other branch develop

Fixing "deb" builds.

Showing 1 changed file with 11 additions and 3 deletions   Show diff stats
@@ -168,6 +168,11 @@ $(BINRLS)/$(SONAME): \ @@ -168,6 +168,11 @@ $(BINRLS)/$(SONAME): \
168 #---[ Install Targets ]------------------------------------------------------------------ 168 #---[ Install Targets ]------------------------------------------------------------------
169 169
170 install: \ 170 install: \
  171 + install-shared \
  172 + install-devel
  173 +
  174 +
  175 +install-shared: \
171 $(BINRLS)/$(SONAME) 176 $(BINRLS)/$(SONAME)
172 177
173 # Install library 178 # Install library
@@ -181,9 +186,7 @@ install: \ @@ -181,9 +186,7 @@ install: \
181 $(LIBNAME)@DLLEXT@.@PACKAGE_MAJOR_VERSION@.@PACKAGE_MINOR_VERSION@ \ 186 $(LIBNAME)@DLLEXT@.@PACKAGE_MAJOR_VERSION@.@PACKAGE_MINOR_VERSION@ \
182 $(DESTDIR)$(libdir)/$(LIBNAME)@DLLEXT@.@PACKAGE_MAJOR_VERSION@ 187 $(DESTDIR)$(libdir)/$(LIBNAME)@DLLEXT@.@PACKAGE_MAJOR_VERSION@
183 188
184 - @$(LN_S) \  
185 - $(LIBNAME)@DLLEXT@.@PACKAGE_MAJOR_VERSION@ \  
186 - $(DESTDIR)$(libdir)/$(LIBNAME)@DLLEXT@ 189 +install-devel:
187 190
188 # Install devel 191 # Install devel
189 @$(MKDIR) $(DESTDIR)$(includedir)/lib3270 192 @$(MKDIR) $(DESTDIR)$(includedir)/lib3270
@@ -191,6 +194,11 @@ install: \ @@ -191,6 +194,11 @@ install: \
191 src/include/lib3270/*.h \ 194 src/include/lib3270/*.h \
192 $(DESTDIR)$(includedir)/lib3270 195 $(DESTDIR)$(includedir)/lib3270
193 196
  197 + @$(LN_S) \
  198 + $(LIBNAME)@DLLEXT@.@PACKAGE_MAJOR_VERSION@ \
  199 + $(DESTDIR)$(libdir)/$(LIBNAME)@DLLEXT@
  200 +
  201 +
194 doc: 202 doc:
195 @$(DOXYGEN) ./doxygen/doxyfile 203 @$(DOXYGEN) ./doxygen/doxyfile
196 204