Creating directories in clean target of rules to workaround gits inability to track...
authorDaniel Baumann <daniel@debian.org>
Sun, 15 Apr 2012 13:49:27 +0000 (13:49 +0000)
committerDaniel Baumann <daniel@debian.org>
Sun, 15 Apr 2012 13:54:50 +0000 (13:54 +0000)
debian/rules

index 017e176..0dc8b4d 100755 (executable)
@@ -1,7 +1,19 @@
 #!/usr/bin/make -f
 
+SHELL := sh -e
+
 %:
        dh ${@}
 
+override_dh_auto_clean:
+       dh_auto_clean
+
+       for _RESOLUTION in 128x128 16x16 22x22 24x24 32x32 36x36 48x48 64x64 72x72 96x96; \
+       do \
+               mkdir -p nuoveXT2/$${_RESOLUTION}/emblems; \
+               mkdir -p nuoveXT2/$${_RESOLUTION}/emotes; \
+               mkdir -p nuoveXT2/$${_RESOLUTION}/filesystems; \
+       done
+
 override_dh_builddeb:
        dh_builddeb -- -Zxz -z9