05-26-2011
Why build orphan targets in the first place if you're just going to delete them? Make won't build orphans unless that target is either given or first since nothing pulls them in. Or are you just saying you want intermediate files deleted?
I suspect Make can be made to do what you want, but to tell you how you'll need to be a lot more specific about what you're actually doing.
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
I have just build a softpaq for our softqare release.
Now i am giving tar file of softpaq to customer. It need to extract and then need to run script file inside it.
I want to build this way that when user extract script file in this should automatically starts/excutes...
Can anyone suggest... (3 Replies)
Discussion started by: ajayyadavmca
3 Replies
2. Solaris
dear all
when i compile any file under solaris it gives the below warning how can i disable it
-bash-3.00$ make GNLPFT177
make: Warning: File `GNLPFT177.rc' has modification time 36 s in the future
make GNLPFT177.c
make: Entering directory `/devapp/jordev/batch/source'
make: Warning: File... (3 Replies)
Discussion started by: murad.jaber
3 Replies
3. UNIX for Advanced & Expert Users
Hi All,
sorry it was application related.. i am deleting it
Thanks & Regards
Shihab (0 Replies)
Discussion started by: shihabvk
0 Replies
4. UNIX for Dummies Questions & Answers
I need a shell script that accepts 2 directories names bar1 and bar2
as arguments , and deletes those files in bar2 which are are identical to their name
spaces in bar1.
I tried with this code but it gives error.
if
then
echo " syntax <comnd dir1 dir2 > "
exit
else
... (6 Replies)
Discussion started by: krishnampkkm
6 Replies
5. Shell Programming and Scripting
I want to write a script that deletes files inside the dir. However, the script
should also allow the user to confirm by pressing (d) key before deleting files..
#!/bin/bash
for file in $1/*
do
size='ls -l $file | cut -f 5 -d " "'
name='ls -l $file | cut -f 9 -d " "'
... (1 Reply)
Discussion started by: herberwz
1 Replies
6. Slackware
I am using Tbird as it came with Slackware 13.37 and everytime I send something I get a message 1 or 2 drafts deleted. Should it be doing that? If not has this been reported ? How can I find out if it was reported? I have no drafts to delete. (2 Replies)
Discussion started by: slak0
2 Replies
7. Solaris
i am trying to remove a directory using rm -rf command but its not getting removed.. it doesnt throw any error also.. i am logging as the owner of the dir and removing it but still no luck.. i am able remove a file but not a directory.
i am using solaris 10 (12 Replies)
Discussion started by: chidori
12 Replies
8. UNIX for Dummies Questions & Answers
Hi,
So I downloaded this kernel source and was able to build it successfully.
But I want to add this SDK source code inside, can anyone help me how to do this? Note that the SDK source can be built by itself.
I added the SDK in the main Makefile:
init-y := init/
#added SDK... (0 Replies)
Discussion started by: h0ujun
0 Replies
9. Shell Programming and Scripting
Hi
I have a build.xml file and I can run it on Windows via cmd. Now I want to write a script to invoke the same. Is there a way to do this? (1 Reply)
Discussion started by: ankur328
1 Replies
10. Programming
xmake is a make-like build utility based on lua. (Link to project site: xmake)
The project focuses on making development and building easier and provides many features (.e.g package, install, plugin, macro, action, option, task ...), so that any developer can quickly pick it up and enjoy the... (1 Reply)
Discussion started by: waruqi
1 Replies
GANT(1) User Commands GANT(1)
NAME
Gant - Groovy build framework based on scripting Ant tasks
DESCRIPTION
usage: gant [option]* [target]*
-c,--usecache
Whether to cache the generated class and perform modified checks on the file before re-compilation.
-n,--dry-run
Do not actually action any tasks.
-D <name>=<value>
Define <name> to have value <value>. Creates a variable named <name> for use in the scripts and a property named <name> for the Ant
tasks.
-P,--classpath <path>
Adds a path to search for jars and classes.
-T,--targets
Print out a list of the possible targets.
-V,--version
Print the version number and exit.
-d,--cachedir <cache-file>
The directory where to cache generated classes to.
-f,--gantfile <build-file>
Use the named build file instead of the default, build.gant.
-h,--help
Print out this message.
-l,--gantlib <library>
A directory that contains classes to be used as extra Gant modules,
-p,--projecthelp
Print out a list of the possible targets.
-q,--quiet
Do not print out much when executing.
-s,--silent
Print out nothing when executing.
-v,--verbose
Print lots of extra information.
SEE ALSO
groovy(1) groovyc(1)
AUTHOR
This manual page was generated using help2man and edited by Varun Hiremath <varun@debian.org>, for the Debian project (but may be used by
others).
Gant version 1.1.0 February 2008 GANT(1)