Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

dh_auto_clean(1) [v7 man page]

DH_AUTO_CLEAN(1)						     Debhelper							  DH_AUTO_CLEAN(1)

NAME
dh_auto_clean - automatically cleans up after a build SYNOPSIS
dh_auto_clean [buildsystemoptions] [debhelperoptions] [--params] DESCRIPTION
dh_auto_clean is a debhelper program that tries to automatically clean up after a package build. It does so by running the appropriate command for the build system it detects the package uses. For example, if there's a Makefile and it contains a distclean, realclean, or clean target, then this is done by running make (or MAKE, if the environment variable is set). If there is a setup.py or Build.PL, it is run to clean the package. This is intended to work for about 90% of packages. If it doesn't work, or tries to use the wrong clean target, you're encouraged to skip using dh_auto_clean at all, and just run make clean manually. OPTIONS
See "BUILD SYSTEM OPTIONS" in debhelper(7) for a list of common build system selection and control options. -- params Pass params to the program that is run, after the parameters that dh_auto_clean usually passes. SEE ALSO
debhelper(7) This program is a part of debhelper. AUTHOR
Joey Hess <joeyh@debian.org> 11.1.6ubuntu2 2018-05-10 DH_AUTO_CLEAN(1)

Check Out this Related Man Page

DH_AUTO_CLEAN(1)                                                     Debhelper                                                    DH_AUTO_CLEAN(1)

NAME
dh_auto_clean - automatically cleans up after a build SYNOPSIS
dh_auto_clean [buildsystemoptions] [debhelperoptions] [--params] DESCRIPTION
dh_auto_clean is a debhelper program that tries to automatically clean up after a package build. It does so by running the appropriate command for the build system it detects the package uses. For example, if there's a Makefile and it contains a distclean, realclean, or clean target, then this is done by running make (or MAKE, if the environment variable is set). If there is a setup.py or Build.PL, it is run to clean the package. This is intended to work for about 90% of packages. If it doesn't work, or tries to use the wrong clean target, you're encouraged to skip using dh_auto_clean at all, and just run make clean manually. OPTIONS
See "BUILD SYSTEM OPTIONS" in debhelper(7) for a list of common build system selection and control options. -- params Pass params to the program that is run, after the parameters that dh_auto_clean usually passes. SEE ALSO
debhelper(7) This program is a part of debhelper. AUTHOR
Joey Hess <joeyh@debian.org> 11.1.6ubuntu2 2018-05-10 DH_AUTO_CLEAN(1)
Man Page

8 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

my make doesn't work

hi I wrote the following makefile, I have just one problem, when i type make clean I get the message make 'clean' is up to date and any obj file is removed from my folder, what's wrong? Thank you CC = cc all: es.o elaboration.o $(CC) -o es es.o elaboration.o elaboration.o:... (0 Replies)
Discussion started by: Puntino
0 Replies

2. AIX

How to clean PV id?

When I run command: >chdev -l hdisk1 -a pv=clear It shows Method error (/etc/methods/chgdisk): 0514-062 Cannot perform the requested function because the specified device is busy. run: #>fuser -kxuc /dev/raw1 /dev/raw1: How to clean PV id? (4 Replies)
Discussion started by: rainbow_bean
4 Replies

3. Programming

PHONY target is not working

Hi, I am trying to write one makefile with phony target "clean" ...it is working fine when there is no file exist by name "clean", while it create a new file "clean" , PHONY clean is not working. .PHONY : clean clean: rm -f hello.txt bye.txt @echo "Files are deleted" ... (3 Replies)
Discussion started by: apskaushik
3 Replies

4. UNIX for Advanced & Expert Users

MAKE-like build that deletes orphans?

I have a complex multi-stage (media conversion and formatting) build process that leaves orphan target files needing deleting automatically (i.e. by reference only to the build rules themselves, not any parallel config) upon each regular build. Since MAKE cannot do this, what can? Thanks. (4 Replies)
Discussion started by: chrisjj
4 Replies

5. Programming

Cross target debugging

I am trying to setup gdbserver debugging on my i386 target platform and running gdb from x86_64 host. I always get could not load vsyscal try using file etc.. error. Is there a clean way to setup a cross target gdb. PS: I also tried set archi i386 on host side. (2 Replies)
Discussion started by: dragonpoint
2 Replies

6. Shell Programming and Scripting

automake distclean does work, but distcheck gives error

When I run autogen.sh(the auto hell stuffs+configure) and type "make distclean", I get a proper result(which can be built). However, when running autogen.sh and then "make distcheck", I get an error: ... rm -f Makefile ERROR: files left in build directory after distclean: ./src/MediaPlayer.c... (2 Replies)
Discussion started by: Tal500
2 Replies

7. Programming

Breakpoints dont work in Codeblocks, code does not build

Hey so I've written a program and it crashes every time I run it. I tried placing breakpoints to see what was going but to my surprise they do not work! I've placed them anywhere and they do not stop the execution of the program. In fact if I add code and hit rebuild it doesn't even build that... (1 Reply)
Discussion started by: Cambria
1 Replies

8. HP-UX

Unable to find library libncurses.so.

I'm trying to run a file name remote build which is to build a package on a target server. My target server is HP-UX-itanium 64 bit. When I run the remote build, somehow it cannot find `libncurses.so` or maybe it looks for the `libncurses.so` at some other location. This only happens on HP-UX... (3 Replies)
Discussion started by: fikriemuthafa
3 Replies