[pacman-dev] [PATCH] Add scripts po directory to autoclean.sh
Signed-off-by: Allan McRae <allan@archlinux.org> --- autoclean.sh | 13 ++++--------- 1 files changed, 4 insertions(+), 9 deletions(-) diff --git a/autoclean.sh b/autoclean.sh index 71284ad..1a1ed5e 100755 --- a/autoclean.sh +++ b/autoclean.sh @@ -26,12 +26,7 @@ rm -f test/pacman/*.pyc rm -f doc/html/*.html rm -f doc/man3/*.3 -rm -f po/{Makefile.in,Makefile} -rm -f po/POTFILES -rm -f po/stamp-po -rm -f po/*.gmo - -rm -f lib/libalpm/po/{Makefile.in,Makefile} -rm -f lib/libalpm/po/POTFILES -rm -f lib/libalpm/po/stamp-po -rm -f lib/libalpm/po/*.gmo +rm -f {.,lib/libalpm,scripts}/po/{Makefile.in,Makefile} +rm -f {.,lib/libalpm,scripts}/po/POTFILES +rm -f {.,lib/libalpm,scripts}/po/stamp-po +rm -f {.,lib/libalpm,scripts}/po/*.gmo -- 1.7.5.4
On Fri, Jun 24, 2011 at 4:28 PM, Allan McRae <allan@archlinux.org> wrote:
Signed-off-by: Allan McRae <allan@archlinux.org> --- autoclean.sh | 13 ++++--------- 1 files changed, 4 insertions(+), 9 deletions(-)
diff --git a/autoclean.sh b/autoclean.sh index 71284ad..1a1ed5e 100755 --- a/autoclean.sh +++ b/autoclean.sh @@ -26,12 +26,7 @@ rm -f test/pacman/*.pyc rm -f doc/html/*.html rm -f doc/man3/*.3
-rm -f po/{Makefile.in,Makefile} -rm -f po/POTFILES -rm -f po/stamp-po -rm -f po/*.gmo - -rm -f lib/libalpm/po/{Makefile.in,Makefile} -rm -f lib/libalpm/po/POTFILES -rm -f lib/libalpm/po/stamp-po -rm -f lib/libalpm/po/*.gmo +rm -f {.,lib/libalpm,scripts}/po/{Makefile.in,Makefile} +rm -f {.,lib/libalpm,scripts}/po/POTFILES +rm -f {.,lib/libalpm,scripts}/po/stamp-po +rm -f {.,lib/libalpm,scripts}/po/*.gmo
Is none of this removed on make clean (gmo files come to mind)? -Dan
On 25/06/11 07:32, Dan McGee wrote:
On Fri, Jun 24, 2011 at 4:28 PM, Allan McRae<allan@archlinux.org> wrote:
Signed-off-by: Allan McRae<allan@archlinux.org> --- autoclean.sh | 13 ++++--------- 1 files changed, 4 insertions(+), 9 deletions(-)
diff --git a/autoclean.sh b/autoclean.sh index 71284ad..1a1ed5e 100755 --- a/autoclean.sh +++ b/autoclean.sh @@ -26,12 +26,7 @@ rm -f test/pacman/*.pyc rm -f doc/html/*.html rm -f doc/man3/*.3
-rm -f po/{Makefile.in,Makefile} -rm -f po/POTFILES -rm -f po/stamp-po -rm -f po/*.gmo - -rm -f lib/libalpm/po/{Makefile.in,Makefile} -rm -f lib/libalpm/po/POTFILES -rm -f lib/libalpm/po/stamp-po -rm -f lib/libalpm/po/*.gmo +rm -f {.,lib/libalpm,scripts}/po/{Makefile.in,Makefile} +rm -f {.,lib/libalpm,scripts}/po/POTFILES +rm -f {.,lib/libalpm,scripts}/po/stamp-po +rm -f {.,lib/libalpm,scripts}/po/*.gmo
Is none of this removed on make clean (gmo files come to mind)?
Appears not. And I have just realised that the pacman po folder is moved to so this needed further changes +rm -f {lib/libalpm,scripts,src/pacman}/po/{Makefile.in,Makefile} etc... Allan
participants (2)
-
Allan McRae
-
Dan McGee