update clean target
@@ -85,14 +85,15 @@ get-deps:
go get golang.org/x/tools/cmd/goimports
clean:
- @-rm ecs-init.spec
- @-rm ecs.conf
- @-rm ecs.service
- @-rm ./sources.tgz
- @-rm ./amazon-ecs-init
- @-rm ./ecs-init-*.src.rpm
- @-rm ./ecs-init-* -r
- @-rm -r ./BUILDROOT BUILD RPMS SRPMS SOURCES SPECS
- @-rm ./x86_64 -r
- @-rm ./amazon-ecs-init_${VERSION}*
- @-rm .srpm-done .rpm-done
+ -rm -f ecs-init.spec
+ -rm -f ecs.conf
+ -rm -f ecs.service
+ -rm -f ./sources.tgz
+ -rm -f ./amazon-ecs-init
+ -rm -f ./ecs-agent-*.tar
+ -rm -f ./ecs-init-*.src.rpm
+ -rm -rf ./ecs-init-*
+ -rm -rf ./BUILDROOT BUILD RPMS SRPMS SOURCES SPECS
+ -rm -rf ./x86_64
+ -rm -f ./amazon-ecs-init_${VERSION}*
+ -rm -f .srpm-done .rpm-done
