1
# synergy -- mouse and keyboard sharing utility
2
# Copyright (C) 2002 Chris Schoeneman
4
# This package is free software; you can redistribute it and/or
5
# modify it under the terms of the GNU General Public License
6
# found in the file COPYING that should have accompanied this file.
8
# This package is distributed in the hope that it will be useful,
9
# but WITHOUT ANY WARRANTY; without even the implied warranty of
10
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11
# GNU General Public License for more details.
13
## Process this file with automake to produce Makefile.in
33
examples/synergy.conf \
36
MAINTAINERCLEANFILES = \
61
cmd/synergyc/synergyc \
62
cmd/synergys/synergys \
63
examples/synergy.conf \
70
# build doxygen documentation
72
doxygen doc/doxygen.cfg
75
RPMTOPDIR=/var/tmp/@PACKAGE@-@VERSION@
79
(cd $(RPMTOPDIR); mkdir BUILD SOURCES SPECS SRPMS RPMS)
80
cp @PACKAGE@-@VERSION@.tar.gz $(RPMTOPDIR)/SOURCES
81
rpm --define '_topdir $(RPMTOPDIR)' -ba dist/rpm/synergy.spec && \
82
mv -f $(RPMTOPDIR)/SRPMS/*.rpm . && \
83
mv -f $(RPMTOPDIR)/RPMS/*/*.rpm . && \
87
# FIXME -- have automake generate this rule for us
89
zip -r $(distdir).zip $(distdir)
90
-chmod -R a+w $(distdir) >/dev/null 2>&1; rm -rf $(distdir)
92
# build binary package. owner/group of packaged files will be
93
# owner/group of user running make.
94
PKGTOPDIR=/var/tmp/@PACKAGE@-@VERSION@
98
mkdir $(PKGTOPDIR)/@PACKAGE@-@VERSION@
99
cp $(PKG_FILES) $(PKGTOPDIR)/@PACKAGE@-@VERSION@
100
(cd $(PKGTOPDIR)/@PACKAGE@-@VERSION@; \
102
chmod 755 $(PKG_PROG_FILES); \
103
strip $(PKG_PROG_FILES) )
104
type=`uname -s -m | tr '[A-Z] ' '[a-z].'`; \
105
(cd $(PKGTOPDIR); tar cf - @PACKAGE@-@VERSION@ | \
106
gzip - ) > @PACKAGE@-@VERSION@-1.$${type}.tar.gz && \