summaryrefslogtreecommitdiffabout
authorzautrix <zautrix>2005-01-20 02:02:15 (UTC)
committer zautrix <zautrix>2005-01-20 02:02:15 (UTC)
commitb14b1ff10adff7344fa0f5bf44d83c7485f83cbc (patch) (side-by-side diff)
treee50eda89f0476b2f773f80b44a27a8c16bd9dc12
parentfa46db884c427e72446d72f8150b1021dd73e265 (diff)
downloadkdepimpi-b14b1ff10adff7344fa0f5bf44d83c7485f83cbc.zip
kdepimpi-b14b1ff10adff7344fa0f5bf44d83c7485f83cbc.tar.gz
kdepimpi-b14b1ff10adff7344fa0f5bf44d83c7485f83cbc.tar.bz2
better makefile
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--Makefile10
-rw-r--r--Makefile.Embedded10
2 files changed, 20 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 1f9507f..5a51127 100644
--- a/Makefile
+++ b/Makefile
@@ -219,8 +219,12 @@ clean:
for i in $(SUBDIRS); do pushd $$i; make clean; rm -f *~;\
rm -f obj/$(PLATFORM)/*; rm -f moc/$(PLATFORM)/*; rm Makefile$(PLATFORM); popd; \
done
+pac:
+ make
+ make install
+ make dist
install:
cd bin/kdepim; make install
cp -r Pim $(QPEDIR)/apps
@@ -232,9 +236,12 @@ install:
dist:
@echo Dont forget to do "make install" before "make dist"
rm -f *arm.ipk
+ rm -f *ipk.zip
+ rm -f ../new_$(KDEPIM_VERSION)/*
rm -f *~
+ cd ..;mkdir -p new_$(KDEPIM_VERSION)
cd ..; tar czf kdepimpi-$(KDEPIM_VERSION).tar.gz --exclude=obj --exclude=moc --exclude=CVS --exclude=Makefilezaurus --exclude=Makefileqtopia kdepim
mkipks kmicrokdelibs.control
mkipks korganizer.control
mkipks kaddressbook.control
@@ -252,8 +259,11 @@ dist:
mkipks pwmanager.control
endif
mkipks pimTABicon.control
zip kdepim_$(KDEPIM_VERSION)_for_SharpRom.ipk.zip *.ipk ReleaseNotes.txt
+ mv *.ipk ../new_$(KDEPIM_VERSION)/
+ mv *for_SharpRom.ipk.zip ../new_$(KDEPIM_VERSION)/
+ mv ../kdepimpi-$(KDEPIM_VERSION).tar.gz ../new_$(KDEPIM_VERSION)/
tmake: objects \
qtcompat/Makefile$(PLATFORM) \
microkde/Makefile$(PLATFORM) \
diff --git a/Makefile.Embedded b/Makefile.Embedded
index 1f9507f..5a51127 100644
--- a/Makefile.Embedded
+++ b/Makefile.Embedded
@@ -219,8 +219,12 @@ clean:
for i in $(SUBDIRS); do pushd $$i; make clean; rm -f *~;\
rm -f obj/$(PLATFORM)/*; rm -f moc/$(PLATFORM)/*; rm Makefile$(PLATFORM); popd; \
done
+pac:
+ make
+ make install
+ make dist
install:
cd bin/kdepim; make install
cp -r Pim $(QPEDIR)/apps
@@ -232,9 +236,12 @@ install:
dist:
@echo Dont forget to do "make install" before "make dist"
rm -f *arm.ipk
+ rm -f *ipk.zip
+ rm -f ../new_$(KDEPIM_VERSION)/*
rm -f *~
+ cd ..;mkdir -p new_$(KDEPIM_VERSION)
cd ..; tar czf kdepimpi-$(KDEPIM_VERSION).tar.gz --exclude=obj --exclude=moc --exclude=CVS --exclude=Makefilezaurus --exclude=Makefileqtopia kdepim
mkipks kmicrokdelibs.control
mkipks korganizer.control
mkipks kaddressbook.control
@@ -252,8 +259,11 @@ dist:
mkipks pwmanager.control
endif
mkipks pimTABicon.control
zip kdepim_$(KDEPIM_VERSION)_for_SharpRom.ipk.zip *.ipk ReleaseNotes.txt
+ mv *.ipk ../new_$(KDEPIM_VERSION)/
+ mv *for_SharpRom.ipk.zip ../new_$(KDEPIM_VERSION)/
+ mv ../kdepimpi-$(KDEPIM_VERSION).tar.gz ../new_$(KDEPIM_VERSION)/
tmake: objects \
qtcompat/Makefile$(PLATFORM) \
microkde/Makefile$(PLATFORM) \