mirror of
https://git.libssh.org/projects/libssh.git
synced 2026-02-09 18:04:25 +09:00
fixed makefiles for debian packaging
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@83 7dcaeef0-15fb-0310-b436-a5af3365683c
This commit is contained in:
18
Makefile.in
18
Makefile.in
@@ -22,7 +22,7 @@ LN = @LN_S@
|
|||||||
LIBTOOL = @LIBTOOL@
|
LIBTOOL = @LIBTOOL@
|
||||||
OBJECTS = sample.o samplesshd.o
|
OBJECTS = sample.o samplesshd.o
|
||||||
APPS = samplessh samplesftp samplesshd
|
APPS = samplessh samplesftp samplesshd
|
||||||
VERSION = 0.12-dev
|
VERSION = 0.2-dev
|
||||||
DISTLIB = libssh-$(VERSION)
|
DISTLIB = libssh-$(VERSION)
|
||||||
CONFIG = include/libssh/config.h
|
CONFIG = include/libssh/config.h
|
||||||
|
|
||||||
@@ -75,14 +75,14 @@ install: all
|
|||||||
(cd $$dir && $(MAKE) install) \
|
(cd $$dir && $(MAKE) install) \
|
||||||
|| case "$(MFLAGS)" in *k*) fail=yes;; *) exit 1;; esac; \
|
|| case "$(MFLAGS)" in *k*) fail=yes;; *) exit 1;; esac; \
|
||||||
done && test -z "$$fail"
|
done && test -z "$$fail"
|
||||||
$(top_srcdir)/mkinstalldirs $(incldir)/libssh
|
$(top_srcdir)/mkinstalldirs $(DESTDIR)$(incldir)/libssh
|
||||||
$(INSTALL) include/libssh/libssh.h $(incldir)/libssh/
|
$(INSTALL) include/libssh/libssh.h $(DESTDIR)$(incldir)/libssh/
|
||||||
$(INSTALL) include/libssh/config.h $(incldir)/libssh/
|
$(INSTALL) include/libssh/config.h $(DESTDIR)$(incldir)/libssh/
|
||||||
$(INSTALL) include/libssh/sftp.h $(incldir)/libssh/
|
$(INSTALL) include/libssh/sftp.h $(DESTDIR)$(incldir)/libssh/
|
||||||
$(INSTALL) include/libssh/crypto.h $(incldir)/libssh/
|
$(INSTALL) include/libssh/crypto.h $(DESTDIR)$(incldir)/libssh/
|
||||||
$(INSTALL) include/libssh/server.h $(incldir)/libssh/
|
$(INSTALL) include/libssh/server.h $(DESTDIR)$(incldir)/libssh/
|
||||||
$(INSTALL) include/libssh/ssh2.h $(incldir)/libssh/
|
$(INSTALL) include/libssh/ssh2.h $(DESTDIR)$(incldir)/libssh/
|
||||||
$(INSTALL) include/libssh/ssh1.h $(incldir)/libssh/
|
$(INSTALL) include/libssh/ssh1.h $(DESTDIR)$(incldir)/libssh/
|
||||||
|
|
||||||
.PHONY: clean
|
.PHONY: clean
|
||||||
clean:
|
clean:
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ AC_CONFIG_HEADER([config.h])
|
|||||||
# (Interfaces removed: CURRENT++, AGE=0, REVISION=0)
|
# (Interfaces removed: CURRENT++, AGE=0, REVISION=0)
|
||||||
# (Interfaces added: CURRENT++, AGE++, REVISION=0)
|
# (Interfaces added: CURRENT++, AGE++, REVISION=0)
|
||||||
# (No interfaces changed: REVISION++)
|
# (No interfaces changed: REVISION++)
|
||||||
LIBSSH_CURRENT=1
|
LIBSSH_CURRENT=2
|
||||||
LIBSSH_AGE=0
|
LIBSSH_AGE=0
|
||||||
LIBSSH_REVISION=0
|
LIBSSH_REVISION=0
|
||||||
AC_SUBST(LIBSSH_CURRENT)
|
AC_SUBST(LIBSSH_CURRENT)
|
||||||
|
|||||||
@@ -42,9 +42,9 @@ libssh.so: libssh.la
|
|||||||
libssh.a: libssh.la
|
libssh.a: libssh.la
|
||||||
|
|
||||||
install: all
|
install: all
|
||||||
$(top_srcdir)/mkinstalldirs $(incldir)
|
$(top_srcdir)/mkinstalldirs $(DESTDIR)$(incldir)
|
||||||
$(top_srcdir)/mkinstalldirs $(libdir)
|
$(top_srcdir)/mkinstalldirs $(DESTDIR)$(libdir)
|
||||||
$(LIBTOOL) --mode=install $(INSTALL) libssh.la $(libdir)
|
$(LIBTOOL) --mode=install $(INSTALL) libssh.la $(DESTDIR)$(libdir)
|
||||||
clean:
|
clean:
|
||||||
$(LIBTOOL) --mode=clean rm -f *~ libssh.la *.lo *.o
|
$(LIBTOOL) --mode=clean rm -f *~ libssh.la *.lo *.o
|
||||||
distclean: clean
|
distclean: clean
|
||||||
|
|||||||
Reference in New Issue
Block a user