Move protobufs inside src and distribute /debian

This commit is contained in:
Keith Winstein
2012-02-06 16:28:29 -05:00
parent 38c27149ee
commit 2611a42fb1
9 changed files with 9 additions and 7 deletions
+2 -2
View File
@@ -1,2 +1,2 @@
SUBDIRS = protobufs src scripts
EXTRA_DIST = grant.htm
SUBDIRS = src scripts
EXTRA_DIST = grant.htm debian
+1 -1
View File
@@ -6,7 +6,7 @@ AC_INIT(mosh, 0.9, mosh-devel@mit.edu)
AM_INIT_AUTOMAKE(mosh, 0.9)
AC_CONFIG_SRCDIR([src/transportfragment.h])
AC_CONFIG_HEADERS([config.h])
AC_OUTPUT(Makefile src/Makefile protobufs/Makefile scripts/Makefile)
AC_OUTPUT(Makefile src/Makefile src/protobufs/Makefile scripts/Makefile)
# Checks for programs.
AC_PROG_CXX
+1 -1
View File
@@ -2,7 +2,7 @@ Source: mosh
Section: net
Priority: optional
Maintainer: Keith Winstein <keithw@mit.edu>
Build-Depends: debhelper (>= 8.0.0), autotools-dev, protobuf-compiler, libprotobuf-dev
Build-Depends: debhelper (>= 8.0.0), autotools-dev, protobuf-compiler, libprotobuf-dev, dh-autoreconf
Standards-Version: 3.9.2
Homepage: http://mosh.mit.edu
Vcs-Git: git://github.com/keithw/mosh.git
+1 -1
View File
@@ -10,4 +10,4 @@
#export DH_VERBOSE=1
%:
dh $@
dh $@ --with autoreconf
+4 -2
View File
@@ -1,7 +1,9 @@
AM_CPPFLAGS = -I$(top_builddir)/protobufs/ -D_XOPEN_SOURCE=500 -D_GNU_SOURCE -D_BSD_SOURCE
SUBDIRS = protobufs .
AM_CPPFLAGS = -Iprotobufs -D_XOPEN_SOURCE=500 -D_GNU_SOURCE -D_BSD_SOURCE
AM_CXXFLAGS = -g -O2 --std=c++0x -pedantic -Werror -Wall -Wextra -Weffc++ -fno-default-inline -pipe
LIBS = `pkg-config --libs protobuf-lite`
LDADD = -lutil -lrt -lm $(top_builddir)/protobufs/libmoshprotos.a
LDADD = -lutil -lrt -lm protobufs/libmoshprotos.a
bin_PROGRAMS = mosh-client mosh-server