1 SUBDIRS
= src po src
/yumgui
2 PYFILES
= $(wildcard *.py
)
4 VERSION
=$(shell awk
'/Version:/ { print $$2 }' ${PKGNAME}.spec
)
9 ALLDIRS
=src po src
/yumgui gfx misc tools
14 for d in
$(SUBDIRS
); do make
-C
$$d; [ $$?
= 0 ] || exit
1 ; done
17 @
rm -fv
*~
*.
tar.gz
*.list
*.lang
18 for d in
$(SUBDIRS
); do make
-C
$$d clean ; done
21 mkdir
-p
$(DESTDIR
)/usr
/share
/yumex
22 mkdir
-p
$(DESTDIR
)/usr
/share
/pixmaps
/yumex
23 mkdir
-p
$(DESTDIR
)/usr
/share
/applications
24 mkdir
-p
$(DESTDIR
)/usr
/bin
25 mkdir
-p
$(DESTDIR
)/etc
26 mkdir
-p
$(DESTDIR
)/etc
/pam.d
27 mkdir
-p
$(DESTDIR
)/etc
/security
/console.apps
28 install -m644 COPYING
$(DESTDIR
)/usr
/share
/yumex
/.
29 install -m755
$(MISCDIR
)/yumex
$(DESTDIR
)/usr
/share
/yumex
/.
30 install -m644
$(PIXDIR
)/*.png
$(DESTDIR
)/usr
/share
/pixmaps
/yumex
/.
31 install -m644
$(MISCDIR
)/yumex.profiles.conf
$(DESTDIR
)/etc
/.
32 install -m644
$(MISCDIR
)/yumex.pam
$(DESTDIR
)/etc
/pam.d
/yumex
33 install -m600
$(MISCDIR
)/yumex.conf.default
$(DESTDIR
)/etc
/yumex.conf
34 install -m644
$(MISCDIR
)/yumex.pam
$(DESTDIR
)/etc
/pam.d
/yumex
35 install -m644
$(MISCDIR
)/yumex.console.app
$(DESTDIR
)/etc
/security
/console.apps
/yumex
36 ln
-s consolehelper
$(DESTDIR
)/usr
/bin
/yumex
37 chmod
+x
$(DESTDIR
)/usr
/share
/yumex
/yumex
38 install -m644
$(MISCDIR
)/yumex.desktop
$(DESTDIR
)/usr
/share
/applications
/.
39 for d in
$(SUBDIRS
); do make DESTDIR
=`cd $(DESTDIR); pwd` -C
$$d install; [ $$?
= 0 ] || exit
1; done
43 @
rm -rf
${PKGNAME}-${VERSION}.
tar.gz
44 @git-archive
--format
=tar --prefix=$(PKGNAME
)-$(VERSION
)/ HEAD | gzip
-9v
>${PKGNAME}-$(VERSION
).
tar.gz
45 @cp
${PKGNAME}-$(VERSION
).
tar.gz
$(shell rpm
-E
'%_sourcedir')
46 @
rm -rf
${PKGNAME}-${VERSION}.
tar.gz
47 @echo
"The archive is in ${PKGNAME}-$(VERSION).tar.gz"
50 rpmbuild
-ba
-D
"dist .centos5" yumex.spec
53 rpmbuild
-ba
-D
"dist .fc6" yumex.spec
56 rpmbuild
-ba
-D
"dist .fc7" yumex.spec
59 @git log
--pretty
--numstat
--summary | tools
/git2cl
> ChangeLog.git
60 @cat ChangeLog.git ChangeLog.svn
> ChangeLog
64 @scp ~
/rpmbuild
/SOURCES
/${PKGNAME}-${VERSION}.
tar.gz yum-extender.org
:public_html
/dnl
/yumex
/source
/.
68 @git commit
-a
-m
"bumped version to $(VERSION)"
70 @git commit
-a
-m
"updated ChangeLog"
72 @git tag
-f
-m
"Added ${PKGNAME}-${VERSION} release tag" ${PKGNAME}-${VERSION}
73 @git push
--tags origin