Moving micasa 1.5 trunk to Novell forge.
This commit is contained in:
61
LoginCapture/package/windows/logincapture-msm/Makefile.am
Normal file
61
LoginCapture/package/windows/logincapture-msm/Makefile.am
Normal file
@@ -0,0 +1,61 @@
|
||||
#######################################################################
|
||||
#
|
||||
# Copyright (C) 2004 Novell, Inc.
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or
|
||||
# modify it under the terms of the GNU General Public
|
||||
# License as published by the Free Software Foundation; either
|
||||
# version 2 of the License, or (at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
# General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public
|
||||
# License along with this program; if not, write to the Free
|
||||
# Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
#
|
||||
# Author: Juan Carlos Luciani <jluciani@novell.com>
|
||||
#
|
||||
#######################################################################
|
||||
|
||||
MSM_FILE = $(PACKAGE)-$(VERSION)-$(RELEASE).msm
|
||||
MSM_LOG_FILE = devenv-logincapture-msm.log
|
||||
|
||||
.PHONY: package package-clean package-install package-uninstall logincapture devenv
|
||||
|
||||
#all clean:
|
||||
|
||||
package: $(MSM_FILE)
|
||||
|
||||
devenv:
|
||||
@if ! test -x "$(VSINSTALLDIR)/devenv.exe"; then echo "Error: Microsoft Visual Studio .NET is currently required to build MSI and MSM packages"; exit 1; fi
|
||||
|
||||
$(MSM_FILE): devenv
|
||||
@rm -f $(MSM_LOG_FILE) $@
|
||||
@CMD='"$(VSINSTALLDIR)/devenv.exe" ../../../LoginCapture.sln /build $(DEVENV_CONFIGURATION) /project logincapture-msm /out $(MSM_LOG_FILE)'; \
|
||||
echo $$CMD; \
|
||||
if eval $$CMD; then \
|
||||
ls -l $(DEVENV_CONFIGURATION)/logincapture.msm; \
|
||||
else \
|
||||
grep -a "ERROR:" $(MSM_LOG_FILE); \
|
||||
fi
|
||||
|
||||
securesink:
|
||||
make -C ../.. all
|
||||
|
||||
package-clean clean-local:
|
||||
rm -rf Release/* Release Debug/* Debug*/Release */Debug *.log *.suo
|
||||
|
||||
clean:
|
||||
rm -rf Release/* Release Debug/* Debug */Release */Debug *.log *.suo
|
||||
|
||||
distclean-local: package-clean
|
||||
rm -f Makefile logincapture.spec
|
||||
|
||||
maintainer-clean-local:
|
||||
rm -f Makefile.in
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user