Skip to content

Commit

Permalink
another fix for/against bad debian packages
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@6329 6c8d7289-2bf4-0310-a012-ef5d649a1542
  • Loading branch information
orbiter committed Sep 18, 2009
1 parent fbd77bd commit 70bda62
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 11 deletions.
18 changes: 8 additions & 10 deletions build.xml
Expand Up @@ -218,6 +218,13 @@
<classpath refid="project.class.path" />
<compilerarg value="-Xlint"/>
</javac>

<!-- make the jacycore jar -->
<jar destfile="${lib}/yacycore.jar" basedir="${build}/">
<manifest>
<attribute name="Main-Class" value="yacy"/>
</manifest>
</jar>

</target>

Expand All @@ -241,7 +248,7 @@
<target name="all" depends="compile">
</target>

<target name="copyMain4Dist" depends="build-jar">
<target name="copyMain4Dist" depends="compile">
<!-- copy all libs -->
<copy todir="${release_main}/lib">
<fileset dir="${lib}"
Expand Down Expand Up @@ -694,15 +701,6 @@
match="yacy \(.*\) unstable; urgency=low"
replace="yacy (*auto-svn-version*) unstable; urgency=low" />
</target>

<target name="build-jar" depends="compile-core">
<jar destfile="${lib}/yacycore.jar" basedir="${build}/">
<manifest>
<attribute name="Main-Class" value="yacy"/>
</manifest>
</jar>
</target>


<target name="sign" depends="readBuildProperties" description="sign current release file in RELEASE/ with $privateKey">
<java classname="de.anomic.tools.CryptoLib" failonerror="true">
Expand Down
2 changes: 1 addition & 1 deletion debian/rules
Expand Up @@ -19,7 +19,7 @@ build: build-stamp

build-stamp: configure-stamp
# build yacy
ant build-jar -DPKGMANAGER=true
ant compile -DPKGMANAGER=true
m4 -DDebian addon/yacyInit.m4 >debian/yacy.init

clean:
Expand Down

0 comments on commit 70bda62

Please sign in to comment.