mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-28 20:40:56 +02:00
added make purge
git-svn-id: trunk@5800 -
This commit is contained in:
parent
5de83efa80
commit
2fc2b2d52b
7
Makefile
7
Makefile
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Don't edit, this file is generated by FPCMake Version 1.1 [2004/08/08]
|
# Don't edit, this file is generated by FPCMake Version 1.1 [2004/08/15]
|
||||||
#
|
#
|
||||||
default: all
|
default: all
|
||||||
MAKEFILETARGETS=linux go32v2 win32 os2 freebsd beos netbsd amiga atari sunos qnx netware openbsd wdosx palmos macos darwin emx watcom morphos
|
MAKEFILETARGETS=linux go32v2 win32 os2 freebsd beos netbsd amiga atari sunos qnx netware openbsd wdosx palmos macos darwin emx watcom morphos
|
||||||
@ -2505,7 +2505,7 @@ makefiles: fpc_makefiles
|
|||||||
ifneq ($(wildcard fpcmake.loc),)
|
ifneq ($(wildcard fpcmake.loc),)
|
||||||
include fpcmake.loc
|
include fpcmake.loc
|
||||||
endif
|
endif
|
||||||
.PHONY: lcl components packager/registration ideintf packager ide idepkg tools all clean cleanide
|
.PHONY: lcl components packager/registration ideintf packager ide idepkg tools all clean cleanide purge
|
||||||
.SUFFIXES: .rc .res
|
.SUFFIXES: .rc .res
|
||||||
%.res: %.rc
|
%.res: %.rc
|
||||||
windres -i $< -o $@ --preprocessor $(RCPP)
|
windres -i $< -o $@ --preprocessor $(RCPP)
|
||||||
@ -2536,3 +2536,6 @@ ifeq ($(OS_TARGET), win32)
|
|||||||
$(DEL) lazarus.owr
|
$(DEL) lazarus.owr
|
||||||
endif
|
endif
|
||||||
clean: cleanall cleanide
|
clean: cleanall cleanide
|
||||||
|
purge: cleanall cleanide
|
||||||
|
$(MAKE) -C examples clean
|
||||||
|
$(MAKE) -C tools clean
|
||||||
|
@ -65,7 +65,7 @@ export LAZARUS_CONFIG_DIR
|
|||||||
LAZARUS_IDE_CONFIG=$(LAZARUS_CONFIG_DIR)/idemake.cfg
|
LAZARUS_IDE_CONFIG=$(LAZARUS_CONFIG_DIR)/idemake.cfg
|
||||||
|
|
||||||
[rules]
|
[rules]
|
||||||
.PHONY: lcl components packager/registration ideintf packager ide idepkg tools all clean cleanide
|
.PHONY: lcl components packager/registration ideintf packager ide idepkg tools all clean cleanide purge
|
||||||
.SUFFIXES: .rc .res
|
.SUFFIXES: .rc .res
|
||||||
|
|
||||||
%.res: %.rc
|
%.res: %.rc
|
||||||
@ -104,6 +104,10 @@ endif
|
|||||||
|
|
||||||
clean: cleanall cleanide
|
clean: cleanall cleanide
|
||||||
|
|
||||||
|
purge: cleanall cleanide
|
||||||
|
$(MAKE) -C examples clean
|
||||||
|
$(MAKE) -C tools clean
|
||||||
|
|
||||||
#install: $(INSTALLTARGET) $(addsuffix _install,$(TARGET_DIRS))
|
#install: $(INSTALLTARGET) $(addsuffix _install,$(TARGET_DIRS))
|
||||||
# end.
|
# end.
|
||||||
|
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
set -x
|
set -x
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
LazSrcDir=$1
|
LazSrcDir=$1
|
||||||
OutFile=lazarus-0.8.5-1.tgz
|
OutFile=lazarus-0.9.1-5.tgz
|
||||||
|
|
||||||
if [ "x$LazSrcDir" = "x" ]; then
|
if [ "x$LazSrcDir" = "x" ]; then
|
||||||
echo "Usage: $0 <lazarus_source_directory>"
|
echo "Usage: $0 <lazarus_source_directory>"
|
||||||
@ -21,15 +21,7 @@ rm -rf /tmp/lazarus
|
|||||||
cd -
|
cd -
|
||||||
cp -a $LazSrcDir /tmp/lazarus
|
cp -a $LazSrcDir /tmp/lazarus
|
||||||
|
|
||||||
echo "cleaning up (CVS, ppu, o) ..."
|
sh clean_lazaru_directory.sh $LazSrcDir
|
||||||
cd /tmp/lazarus
|
|
||||||
make cleanall
|
|
||||||
for Ext in ppu ppw ppl o ow rst cvsignore bak; do
|
|
||||||
find . -name "*.$Ext" -exec rm -f {} \;
|
|
||||||
done
|
|
||||||
find . -name "*.~*" -exec rm -f {} \;
|
|
||||||
rm -rf tools/install/*.tgz
|
|
||||||
cd -
|
|
||||||
|
|
||||||
# pack
|
# pack
|
||||||
echo "packing ..."
|
echo "packing ..."
|
||||||
|
Loading…
Reference in New Issue
Block a user