summaryrefslogblamecommitdiffstats
path: root/Makefile.am
blob: b1ab4e2405196fadcd6ebc16ef119499670747b8 (plain) (tree)
1
2
3
4


                                                
                 










                     

                    


                       
                                            
                            





                                      

                
                                                                                  
                             

                   






                                                               
 







                                                                                   
include $(top_srcdir)/config/include-Makefile.am

SUBDIRS = lib \
	include \
	disk-utils \
	fdisk \
	getopt \
	hwclock \
	login-utils \
	misc-utils \
	mount \
        partx \
	po \
	schedutils \
	sys-utils \
	text-utils \
	tests

ACLOCAL_AMFLAGS = -I m4

EXTRA_DIST = 	config/include-Makefile.am \
		autogen.sh \
		README.* \
		licenses/* \
		example.files/* \
		po/Makevars.template \
		po/update-potfiles


distclean-local:
	-find . \( -name \*~ -o -name \*.orig -o -name \*.rej \) -exec rm -f {} \;
	rm -rf autom4te.cache

mrproper: distclean
	if [ -f ".gitignore" ]; then \
		find -name Makefile.in -exec rm -f {} \; ; \
		rm -f configure ABOUT-NLS ; \
		rm -rf m4 ; \
		cd config; rm -f `cat ../.gitignore`; cd .. ; \
		cd po; rm -f `cat .gitignore`; cd .. ; \
	fi

# The automake is very stupid for work with man pages. The files from man_MANS are
# not included to the distribution. A solution is use dist_man_MANS or
# EXTRA_DIST = $(man_MANS) -- but these solutions are ugly in case that there
# is a lot of "if <cond>", because the result in EXTRA_DIST or dist_man_MANS
# depends on the condition ;-(
dist-hook:
	-find -regex "\./[a-z\-]*/[a-z\.\-\_]*\.[1-9]" -exec cp {} $(distdir)/{} \;