aboutsummaryrefslogtreecommitdiffstats
path: root/net/openh323/files/patch-makefile.in
blob: 50a583afcb122b32e3a5fef5f044320d3a0053b5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
--- Makefile.in.orig    2005-08-05 01:31:59.000000000 +0600
+++ Makefile.in 2007-07-13 16:11:26.000000000 +0600
@@ -337,22 +337,14 @@
 install:
    mkdir -p $(DESTDIR)$(LIBDIR)
    rm -f $(DESTDIR)$(LIBDIR)/libh323_*_r.so*
-   $(INSTALL) -m 444 lib/$(OH323_FILE).@MAJOR_VERSION@.@MINOR_VERSION@.@BUILD_NUMBER@ $(DESTDIR)$(LIBDIR)
-   (cd $(DESTDIR)$(LIBDIR) ; \
-       rm -f  $(OH323_FILE).@MAJOR_VERSION@.@MINOR_VERSION@ ; \
-       ln -sf $(OH323_FILE).@MAJOR_VERSION@.@MINOR_VERSION@.@BUILD_NUMBER@ $(OH323_FILE).@MAJOR_VERSION@.@MINOR_VERSION@ \
-   )
-   (cd $(DESTDIR)$(LIBDIR) ; \
-       rm -f  $(OH323_FILE).@MAJOR_VERSION@ ; \
-       ln -sf $(OH323_FILE).@MAJOR_VERSION@.@MINOR_VERSION@.@BUILD_NUMBER@ $(OH323_FILE).@MAJOR_VERSION@ \
-   )
+   $(INSTALL) -m 444 lib/$(OH323_FILE).@MAJOR_VERSION@ $(DESTDIR)$(LIBDIR)
    (cd $(DESTDIR)$(LIBDIR) ; \
        rm -f  $(OH323_FILE) ; \
-       ln -sf $(OH323_FILE).@MAJOR_VERSION@.@MINOR_VERSION@.@BUILD_NUMBER@ $(OH323_FILE) \
+       ln -sf $(OH323_FILE).@MAJOR_VERSION@ $(OH323_FILE) \
    )
    (cd $(DESTDIR)$(LIBDIR); \
-       rm -f  libopenh323.@SHAREDLIBEXT@ ; \
-       ln -sf $(OH323_FILE) libopenh323.@SHAREDLIBEXT@ \
+       rm -f  libopenh323.so ; \
+       ln -sf $(OH323_FILE) libopenh323.so \
    )
    ( for dir in $(DESTDIR)$(LIBDIR) \
             $(DESTDIR)$(PREFIX)/include/openh323 \
@@ -362,6 +354,7 @@
    ( for fn in include/*.h ; do \
        $(INSTALL) -m 444 $$fn $(DESTDIR)$(PREFIX)/include/openh323 ; \
    done)
+   $(INSTALL) -m 444 version.h $(DESTDIR)$(PREFIX)/share/openh323
    $(INSTALL) -m 444 openh323u.mak $(DESTDIR)$(PREFIX)/share/openh323
    (cd plugins; $(MAKE) install)