- added package checker to the archive

This commit is contained in:
michel-schinz 2004-11-14 14:26:10 +00:00
parent 7c180bd63e
commit 0461c02a24
1 changed files with 6 additions and 2 deletions

View File

@ -1,5 +1,5 @@
# Makefile for the scsh installation library. Needs GNU make.
# $Id: Makefile,v 1.3 2004/05/22 10:49:31 michel-schinz Exp $
# $Id: Makefile,v 1.4 2004/11/14 14:26:10 michel-schinz Exp $
NAME = scsh-install-lib
VERSION = $(shell ./get-version.scm)
@ -17,6 +17,8 @@ MISC_FILES += NEWS
MISC_FILES += README
MISC_FILES += COPYING
BIN_FILES += scheme/pkg-checker/scsh-test-pkg
DIST_FILES = $(LIB_FILES) $(DOC_FILES) $(MISC_FILES)
DIST_TMP_DIR = distrib-tmp
@ -26,7 +28,7 @@ ARCHIVE = $(FULL_NAME).tar.gz
MD5_FILE = $(ARCHIVE).md5
WEB_USER = schinz
WEB_HOST = lamppc29.epfl.ch
WEB_HOST = lamppc1s1.epfl.ch
WEB_DIR = /home/schinz/public_html/scsh_packages/
# Commands used in the rules
@ -55,6 +57,8 @@ $(ARCHIVE): $(DIST_FILES) Makefile
$(MKDIR) $(DIST_MAIN_DIR)/scheme
$(CP) -p $(LIB_FILES) $(DIST_MAIN_DIR)/scheme
$(CP) -p $(MISC_FILES) $(DIST_MAIN_DIR)
$(MKDIR) $(DIST_MAIN_DIR)/bin
$(CP) -p $(BIN_FILES) $(DIST_MAIN_DIR)/bin
$(TAR) --create --gzip --file=$@ --directory=$(DIST_TMP_DIR) $(FULL_NAME)
$(RM) -rf $(DIST_TMP_DIR)